Skip to content

Commit

Permalink
- add step to login to Azure, build docker image and push to acr
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Lemma (Waferwire LLC) committed May 16, 2024
1 parent ac3ba59 commit ad59f56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/simple-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ jobs:
with:
name: nuget
path: ${{env.outputPath}}/nupkgs

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Build Docker image
run: |
docker build -t myregistry.azurecr.io/myimage:${{ github.sha }} .
docker push myregistry.azurecr.io/myimage:${{ github.sha }}

0 comments on commit ad59f56

Please sign in to comment.