Chainguard Image Updates #5
Workflow file for this run
This file contains 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: 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/chainguard/python:3.12 | |
docker tag cgr.dev/chainguard/python:3.12 uticplatform.azurecr.io/chainguard/python:3.12 | |
docker push uticplatform.azurecr.io/chainguard/python:3.12 |