Skip to content

chore(deploy): add cert for full tls #79

chore(deploy): add cert for full tls

chore(deploy): add cert for full tls #79

name: Build and Deploy
on:
push:
branches:
- dev
- main
tags:
- v*
jobs:
build:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/docker-tpl.yaml@main
with:
images: flosspicks/xchar
context: .
dockerfile: ./Dockerfile
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
deploy-dev:
if: github.ref == 'refs/heads/dev'
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
needs:
- build
with:
images: flosspicks/xchar
tag: sha-${{ github.sha }}
cluster: dev
namespace: crossbell
releaseName: xchar
revision: dev
dir: deploy/dev
secrets:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
deploy-prod:
if: github.ref == 'refs/heads/main'
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
needs:
- build
with:
images: flosspicks/xchar
tag: sha-${{ github.sha }}
cluster: prod
namespace: crossbell
releaseName: xchar
revision: main
dir: deploy/prod
secrets:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}