From e5d17f91c1843bff9f234902de0e9df5ca1a0394 Mon Sep 17 00:00:00 2001 From: Brett McHargue Date: Wed, 11 Oct 2023 14:49:12 +0100 Subject: [PATCH] Last build and push of docker image should use the same name as what is later deployed --- .github/workflows/azure-deploy-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-deploy-dev.yml b/.github/workflows/azure-deploy-dev.yml index 2082238f..550263c6 100644 --- a/.github/workflows/azure-deploy-dev.yml +++ b/.github/workflows/azure-deploy-dev.yml @@ -105,8 +105,8 @@ jobs: type=registry,ref=${{ env.DOCKER_IMAGE }}-prod:latest push: true tags: | - ${{ env.DOCKER_IMAGE }}-prod:latest - ${{ env.DOCKER_IMAGE }}-prod:${{ github.sha }} + ${{ env.DOCKER_IMAGE }}:latest + ${{ env.DOCKER_IMAGE }}:${{ github.sha }} target: production # Login to Azure using OIDC