Skip to content

Commit

Permalink
Building base image and using Azure Container Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-baily committed Feb 5, 2024
1 parent 5d32d44 commit 679eda0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to Azure Container Registry
uses: azure/docker-login@v1
with:
login-server: $ACR_LOGIN_SERVER
username: $ACR_USERNAME
password: ${{ vars.ACR_PASSWORD }}
- name: Build and push Docker image
run: |
docker-compose build gcc12
docker-compose build base --push
docker-compose build gcc12 --push
- name: Logout from Azure Container Registry
run: docker logout $ACR_LOGIN_SERVER

0 comments on commit 679eda0

Please sign in to comment.