Skip to content

Docker Azure deployment action #7

Docker Azure deployment action

Docker Azure deployment action #7

name: Docker Azure deployment
on:
push:
branches:
- main
workflow_dispatch:
pull_request:
jobs:
lint-test:
uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main
secrets: inherit
build:
if: github.ref == 'refs/heads/main'
needs: lint-test
uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-azure.yml@main
with:
container-name: ${{ github.event.repository.name }}
tag: ${{ github.sha }}
secrets: inherit
deploy:
if: github.ref == 'refs/heads/main'
needs: build
uses: ai-cfia/github-workflows/.github/workflows/workflow-deploy-gcp.yml@main
with:
container-name: ${{ github.event.repository.name }}
tag: ${{ github.sha }}
secrets: inherit