This repository was archived by the owner on Jul 28, 2025. It is now read-only.
Merge pull request #124 from Azure-Samples/dependabot/pip/03---Data-S… #39
This file contains hidden or 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: Docker Image CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Azure Container Registry Login | |
uses: Azure/docker-login@v1 | |
with: | |
# Container registry username | |
username: ${{ secrets.ACR_USERNAME }} | |
# Container registry password | |
password: ${{ secrets.ACR_PASSWORD }} | |
# Container registry server url | |
login-server: ${{ secrets.ACR_LOGIN_SERVER }} | |
- uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: | |
cd "02 - Web UI Template"; | |
docker build . --file Docker/Dockerfile --tag ${{ secrets.ACR_LOGIN_SERVER }}/web-ui:latest; | |
docker push ${{ secrets.ACR_LOGIN_SERVER }}/web-ui:latest | |