From 313e5e6922d439045656735697588b29a6339c32 Mon Sep 17 00:00:00 2001 From: Jay Danielsen Date: Tue, 15 Oct 2024 11:05:15 -0400 Subject: [PATCH] update tags --- .github/workflows/build-deploy-pipeline.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-deploy-pipeline.yaml b/.github/workflows/build-deploy-pipeline.yaml index 5643449..00fa306 100644 --- a/.github/workflows/build-deploy-pipeline.yaml +++ b/.github/workflows/build-deploy-pipeline.yaml @@ -44,8 +44,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 + env: + IMAGE_ID: docker.artifactory.brandwatch.com/${{ github.repository.event.name }}:${{ github.ref_name }} with: push: true - tags: | - ${{ format('{0}:{1}-{2}', github.event.repository.name, github.ref_name, 'amd64') }} - ${{ format('{0}:{1}-{2}', github.event.repository.name, github.ref_name, github.run_id) }} + tags: ${{ format('{0}-{1}', env.IMAGE_ID, 'amd64') }},${{ format('{0}-{1}', env.IMAGE_ID, github.run_id) }}