Skip to content

v1.0.0-rc.1

v1.0.0-rc.1 #17

Workflow file for this run

name: Deploy to production
on:
release:
types:
- published
concurrency:
# Ensures that only one workflow task will run at a time. Previous builds, if
# already in process, will get cancelled. Only the latest commit will be allowed
# to run, cancelling any workflows in between
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/build-docker-image.yml
with:
dockerfile_path: ./Dockerfile
dockerfile_target: runner
app_name: auth-registry-frontend
registry: us-docker.pkg.dev/auth-do/auth-frontend
secrets: inherit
deploy:
needs: ['build']
uses: ./.github/workflows/cloudrun-deploy.yml
with:
environment: production
project: auth-do
region: us-east1
image: us-docker.pkg.dev/auth-do/auth-frontend/auth-registry-frontend@${{ needs.build.outputs.image_digest }}
secrets: inherit