From c99a421c7677e89cd02c22aade6cdb1dac958b44 Mon Sep 17 00:00:00 2001 From: "Gregg B. Jensen" Date: Mon, 12 Aug 2024 21:29:58 -0600 Subject: [PATCH] Simplify tag list --- .github/workflows/prdeploy-api-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prdeploy-api-build.yaml b/.github/workflows/prdeploy-api-build.yaml index b151c34..79e9059 100644 --- a/.github/workflows/prdeploy-api-build.yaml +++ b/.github/workflows/prdeploy-api-build.yaml @@ -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 \ No newline at end of file