Skip to content

Commit

Permalink
push to acr
Browse files Browse the repository at this point in the history
  • Loading branch information
malisharfer committed May 9, 2024
1 parent 30e69f7 commit 57888e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/yuyu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ jobs:

- name: 🐳 Docker Build & Push to ACR
run: |
docker build -t ${{ secrets.REGISTRY_LOGIN_SERVER }}.azurecr.io/${{ env.WORKING_DIR }}:${{ github.sha }} ./${{ env.WORKING_DIR }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}.azurecr.io/${{ env.WORKING_DIR }}:${{ github.sha }}
ACR_IP=$(az acr show --name ${{ secrets.REGISTRY_LOGIN_SERVER }} --query 'properties.loginServerIp' -o tsv)
docker build -t $ACR_IP/${{ env.WORKING_DIR }}:${{ github.sha }} ./${{ env.WORKING_DIR }}
docker push $ACR_IP/${{ env.WORKING_DIR }}:${{ github.sha }}
# deploy:
# name: deployment
# needs: build
Expand Down

0 comments on commit 57888e4

Please sign in to comment.