Skip to content

Commit

Permalink
Simplify tag list
Browse files Browse the repository at this point in the history
  • Loading branch information
greggbjensen committed Aug 13, 2024
1 parent 7882557 commit c99a421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prdeploy-api-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name == 'release' && github.event.action == 'created' }}
tags: ${{ fromJson((github.event_name == 'release' && github.release.tag_name) && format('["greggbjensen/prdeploy-api:latest", "greggbjensen/prdeploy-api:{0}"]', github.release.tag_name) || '["greggbjensen/prdeploy-api:test"]') }}
tags: ${{ (github.event_name == 'release' && github.release.tag_name) && format('greggbjensen/prdeploy-api:latest, greggbjensen/prdeploy-api:{0}', github.release.tag_name) || 'greggbjensen/prdeploy-api:test' }}
file: prdeploy-api/src/PrDeploy.Api/Dockerfile
context: prdeploy-api

0 comments on commit c99a421

Please sign in to comment.