change to az

This commit is contained in:
silas 2022-05-08 20:35:06 +01:00
parent 9e6e1c3132
commit 6f4f62e4ed
1 changed files with 8 additions and 5 deletions

View File

@ -21,11 +21,14 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build container
run: |
docker build . -t ${{ env.AZURE_CONTAINER_REGISTRY }}.azurecr.io/v3-liq:${{ github.sha }}
docker push ${{ env.AZURE_CONTAINER_REGISTRY }}.azurecr.io/v3-liq:${{ github.sha }}
- name: Build image on ACR
uses: azure/CLI@7378ce2ca3c38b4b063feb7a4cbe384fef978055
with:
azcliversion: 2.29.1
inlineScript: |
az configure --defaults acr=${{ env.AZURE_CONTAINER_REGISTRY }}
az acr build -t -t ${{ env.AZURE_CONTAINER_REGISTRY }}.azurecr.io/v3-liq:${{ github.sha }}
- name: Gets K8s context
uses: azure/aks-set-context@4e5aec273183a197b181314721843e047123d9fa
with: