Skip to content

Update jq-test.yaml #59

Update jq-test.yaml

Update jq-test.yaml #59

Workflow file for this run

name: Build and push the latest build to staging
on:
push:
branches:
[ main ]
paths-ignore:
- '.github/workflows/*yml'
jobs:
build_push_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
login-server: ${{ secrets.ACR_REPO }}
username: ${{ secrets.ACR_LOGIN }}
password: ${{ secrets.ACR_PASSWORD }}
- run: |
docker build . -t ${{ secrets.ACR_REPO }}/contoso-website:latest
docker push ${{ secrets.ACR_REPO }}/contoso-website:latest