Skip to content

Commit bbfeaa8

Browse files
Switch from azure/cli to have access to docker daemon (#40)
Co-authored-by: Joshua Lester <jlester3@ewu.edu>
1 parent 44bb936 commit bbfeaa8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/Build-Test-And-Deploy.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,10 @@ jobs:
102102
docker image ls -a
103103
104104
- name: Log in to container registry
105-
uses: azure/CLI@v2
106105
env:
107106
REGISTRY_URL: ${{ vars.DEVCONTAINER_REGISTRY }}
108-
with:
109-
inlineScript: |
110-
REGISTRY_NAME=${REGISTRY_URL%.azurecr.io}
111-
az acr login --name $REGISTRY_NAME
107+
run:
108+
az acr login --name ${REGISTRY_URL%.azurecr.io}
112109

113110
- name: Push Image to Container Registry
114111
env:

0 commit comments

Comments
 (0)