Skip to content

Toolkit

Toolkit #321

Workflow file for this run

name: Toolkit
on:
workflow_dispatch: {}
schedule:
- cron: "50 1 * * *" # 1 AM UTC, 6 PM PST
jobs:
buildx:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SHA
id: sha
run: echo "sha=$(/usr/bin/git log -1 --format='%H')" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: toolkit
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ vars.REGISTRY }}${{ vars.IMAGE_PREFIX }}/toolkit:latest
outputs:
sha: ${{ steps.sha.outputs.sha }}