Skip to content

Commit

Permalink
Update branch names in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiBarathR committed Dec 19, 2023
1 parent 96768a8 commit 6ab5cee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build a Docker image and Push it to ACR

on:
push:
branches: [ main ]
branches: [azureFlow]
pull_request:
branches: [ main ]
branches: [azureFlow]

workflow_dispatch:

Expand All @@ -15,9 +15,9 @@ jobs:
- uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
login-server: ${{ secrets.ACR_ENDPOINT }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
login-server: ${{ secrets.ACR_ENDPOINT }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- run: |
docker build . -t ${{ secrets.ACR_ENDPOINT }}/mh-service:${{ github.sha }}
docker push ${{ secrets.ACR_ENDPOINT }}/mh-service:${{ github.sha }}

0 comments on commit 6ab5cee

Please sign in to comment.