Skip to content

build: turbo field "pipeline" -> "tasks" #57

build: turbo field "pipeline" -> "tasks"

build: turbo field "pipeline" -> "tasks" #57

name: Docker Build
on:
push:
branches:
- "main"
# tags:
# - "v*.*.*"
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
build:
uses: NaturalSelectionLabs/Daedalus/.github/workflows/docker-tpl.yaml@main
with:
images: flosspicks/mira
context: .
dockerfile: ./apps/mira/Dockerfile
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
deploy-prod:
if: github.ref == 'refs/heads/main'
uses: NaturalSelectionLabs/Daedalus/.github/workflows/deploy-v3-tpl.yaml@main
needs:
- build
with:
images: flosspicks/mira
tag: sha-${{ github.sha }}
cluster: prod
namespace: crossbell
releaseName: mira
revision: main
dir: deploy/prod
secrets:
ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }}