Skip to content

Commit

Permalink
try to login to ACR with docker cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame authored Nov 11, 2023
1 parent 871fce9 commit 34e2880
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
docker push ${{ secrets.DOCKER_USERNAME }}/az-appservice-go
- name: Log in to Azure registry
if: ${{ needs.choose-registry.outputs.azureregistry }}
if: ${{false }}
uses: docker/login-action@v2
with:
registry: https://akvtraining.azurecr.io/
Expand All @@ -108,6 +108,7 @@
if: ${{ needs.choose-registry.outputs.azureregistry }}
run: |
docker tag az-appservice-go akvtraining.azurecr.io/az-appservice-go
docker login -u ${{ secrets.AZURE_REGISTRY_USER }} -p ${{ secrets.AZURE_REGISTRY_PASSWORD }}
docker push akvtraining.azurecr.io/az-appservice-go
deplpoy-to-azure-from-dockerhub:
Expand Down

0 comments on commit 34e2880

Please sign in to comment.