From a746db5984d9d3ec75ddf764d7ee2602a3919f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20de=20Moura=20Estev=C3=A3o=20Filho?= Date: Tue, 30 Jul 2024 12:55:12 -0300 Subject: [PATCH] Update docker-build.yml Fix version tag --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index b8c8aa72..4413417e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -36,7 +36,7 @@ jobs: - name: 'Build and push image' run: | az acr login -n ${{ secrets.ACR_NAME }} - export VERSION_TAG=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} + export VERSION_TAG=${GITHUB_REF#refs/heads/} export IMAGE_TAG=${{ secrets.ACR_NAME }}.azurecr.io/unlisted/farmai/terravibes/${{ matrix.image-name }}:$VERSION_TAG docker build . -f ./resources/docker/${{ matrix.dockerfile }} -t $IMAGE_TAG docker push $IMAGE_TAG