Build Linux Container Image and Push to ACR #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Linux Container Image and Push to ACR | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: HtmlToPDF_Conversion | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: azure/docker-login@v1 | |
with: | |
login-server: githubhtmltopdf.azurecr.io | |
username: githubhtmltopdf | |
password: /laQaYkOWwKVEjiOYEfFRgMqlaInXZ196ZItwvyiDI+ACRCI2F7n | |
- run: | | |
docker build . -t githubhtmltopdf.azurecr.io/githubhtmltopdf:${{ github.sha }} | |
docker push githubhtmltopdf.azurecr.io/githubhtmltopdf:${{ github.sha }} |