Skip to content

chore(build): use s3 #13

chore(build): use s3

chore(build): use s3 #13

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/docker-tpl.yaml@main
with:
images: flosspicks/xlog-caddy
context: .
dockerfile: ./Dockerfile
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
deploy-dev:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
with:
images: flosspicks/xlog-caddy
tag: latest
cluster: dev
namespace: crossbell
releaseName: xlog-caddy
revision: main
dir: deploy/dev
secrets:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
deploy-prod:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
with:
images: flosspicks/xlog-caddy
tag: latest
cluster: prod
namespace: crossbell
releaseName: xlog-caddy
revision: main
dir: deploy/prod
secrets:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}