Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
Fix version tag
  • Loading branch information
robertomest committed Aug 1, 2024
1 parent fef14df commit a746db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a746db5

Please sign in to comment.