Skip to content

Commit

Permalink
Update az-test.yml
Browse files Browse the repository at this point in the history
fix image name
  • Loading branch information
robertomest authored Jul 30, 2024
1 parent 7bbfe71 commit 49dadfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/az-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- name: 'Build and push image'
run: |
az acr login -n ${{ secrets.ACR_NAME }}
docker build . -f ./resources/docker/${{ matrix.dockerfile }} -t ${{ secrets.ACR_NAME }}.azurecr.io/unlisted/farmai/terravibes/${{ matrix.image-name }}:test
docker push ${{ secrets.ACR_NAME }}.azurecr.io/${{ matrix.image-name }}:test
export IMAGE_TAG=${{ secrets.ACR_NAME }}.azurecr.io/unlisted/farmai/terravibes/${{ matrix.image-name }}:test
docker build . -f ./resources/docker/${{ matrix.dockerfile }} -t $IMAGE_TAG
docker push $IMAGE_TAG

0 comments on commit 49dadfa

Please sign in to comment.