Skip to content

Chainguard Image Updates #6

Chainguard Image Updates

Chainguard Image Updates #6

Workflow file for this run

name: Chainguard Image Updates
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
id-token: write
jobs:
pull-image:
runs-on: ubuntu-latest
steps:
- uses: chainguard-dev/setup-chainctl@main
with:
identity: ${{ secrets.CHAINGUARD_IDENTITY_DEBUG }}
- name: Login to Azure Container Registry
uses: azure/docker-login@v1
with:
login-server: uticplatform.azurecr.io
username: ${{ secrets.PLATFORM_ACR_USERNAME }}
password: ${{ secrets.PLATFORM_ACR_PASSWORD }}
# TODO make this a matrix job
- name: Pull and push chainguardpython 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