Skip to content

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

chore(deploy): add cert for full tls

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

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

Check failure on line 21 in .github/workflows/docker-build-push.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/docker-build-push.yml (Line: 21, Col: 11): Secret ARGOCD_TOKEN is required, but not provided while calling. .github/workflows/docker-build-push.yml (Line: 33, Col: 27): Invalid secret, GOOGLE_CREDENTIALS is not defined in the referenced workflow.
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 }}