File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Chainguard Image Updates
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 0 * * *'
7+
8+ permissions :
9+ id-token : write
10+
11+ jobs :
12+ pull-image :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : chainguard-dev/setup-chainctl@main
17+ with :
18+ identity : ${{ secrets.CHAINGUARD_IDENTITY }}
19+
20+ - name : Login to Azure Container Registry
21+ uses : azure/docker-login@v1
22+ with :
23+ login-server : uticplatform.azurecr.io
24+ username : ${{ secrets.PLATFORM_ACR_USERNAME }}
25+ password : ${{ secrets.PLATFORM_ACR_PASSWORD }}
26+
27+ # TODO make this a matrix job
28+ - name : Pull and push chainguardpython image
29+ run : |
30+ docker pull cgr.dev/chainguard/python:latest-3.12
31+ docker tag cgr.dev/chainguard/python:latest-3.12 uticplatform.azurecr.io/chainguard/python:latest-3.12
32+ docker push uticplatform.azurecr.io/chainguard/python:latest-3.12
You can’t perform that action at this time.
0 commit comments