Skip to content

Merge pull request #282 from equinor/fix/azure_ci #165

Merge pull request #282 from equinor/fix/azure_ci

Merge pull request #282 from equinor/fix/azure_ci #165

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
permissions: {}
jobs:
tests:
permissions:
contents: read
uses: ./.github/workflows/tests.yaml
secrets:
ACR_SECRET: ${{ secrets.ACR_SECRET }}
publish-latest:
needs: tests
permissions:
contents: read
uses: ./.github/workflows/publish.yaml
with:
image-tags: latest
secrets:
ACR_SECRET: ${{ secrets.ACR_SECRET }}
release-please:
needs: [tests]
permissions:
contents: write
pull-requests: write
uses: ./.github/workflows/create-release-pr.yaml
publish-tagged-docker-image:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
permissions:
contents: read
uses: ./.github/workflows/publish.yaml
with:
image-tags: production,${{ needs.release-please.outputs.tag_name }}
secrets:
ACR_SECRET: ${{ secrets.ACR_SECRET }}