Skip to content

Commit

Permalink
Move pull step before azure login
Browse files Browse the repository at this point in the history
  • Loading branch information
tabossert committed Dec 23, 2024
1 parent da869ae commit da1d4e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/chainguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
with:
identity: ${{ secrets.CHAINGUARD_IDENTITY_DEBUG }}

- name: Pull the latest chainguard python image
run: |
docker pull cgr.dev/unstructured.io/python:3.12
- name: Login to Azure Container Registry
uses: azure/docker-login@v1
with:
Expand All @@ -26,8 +30,7 @@ jobs:
password: ${{ secrets.PLATFORM_ACR_PASSWORD }}

# TODO make this a matrix job
- name: Pull and push chainguardpython image
- name: Pull and push chainguard python image
run: |
docker pull cgr.dev/unstructured.io/python:3.12
docker tag cgr.dev/unstructured.io/python:3.12 uticplatform.azurecr.io/chainguard/python:3.12
docker push uticplatform.azurecr.io/chainguard/python:3.12

0 comments on commit da1d4e2

Please sign in to comment.