Skip to content

Commit

Permalink
add tag prefix to docker build stage (#553)
Browse files Browse the repository at this point in the history
* prefix tags when built on GHCR so that persons api is distinct from academies api
  • Loading branch information
DrizzlyOwl authored Aug 8, 2024
1 parent 4fd229d commit e367637
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,16 @@ jobs:
include:
- image: "Dockerfile"
aca_name_secret: "AZURE_ACA_NAME"
prefix: ""
name: "tramsapi-app"
- image: "Dockerfile.PersonsApi"
aca_name_secret: "AZURE_PERSONS_API_ACA_NAME"
prefix: "persons-api-"
name: "personsapi-app"
with:
docker-image-name: '${{ matrix.name }}'
docker-build-file-name: './${{ matrix.image }}'
docker-tag-prefix: ${{ matrix.prefix }}
environment: ${{ needs.set-env.outputs.environment }}
# Only annotate the release once, because both apps are deployed at the same time
annotate-release: ${{ matrix.name == 'tramsapi-app' }}
Expand Down

0 comments on commit e367637

Please sign in to comment.