sonda/.forgejo/workflows/probe-arm.yml
tgiachi 2a8a7c7684
All checks were successful
probe-arm / base-by-digest (push) Successful in 3m50s
ci: probe the arm64 base by digest (throw-away branch)
2026-11-16 14:22:09 +01:00

23 lines
1,004 B
YAML

name: probe-arm
on:
push:
branches: [ci/probe-arm]
jobs:
base-by-digest:
runs-on: docker
container:
image: gcr.io/kaniko-project/executor:v1.23.2-debug
steps:
- name: kaniko for the runner's own platform, arm64 program, arm64 base by digest
env:
REGISTRY_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
run: |
set -eu
mkdir -p /kaniko/.docker
auth="$(printf '%s:%s' squid "$REGISTRY_TOKEN" | base64 | tr -d '\n')"
printf '{"auths":{"git.kmalloc.org":{"auth":"%s"}}}' "$auth" > /kaniko/.docker/config.json
/kaniko/executor --dockerfile Dockerfile \
--context "git://git.kmalloc.org/squid/sonda.git#refs/heads/ci/probe-arm" \
--build-arg SONDA_ARCH=arm64 --build-arg VERSION=probeC \
--build-arg RUNTIME_BASE=alpine@sha256:e233f2058b0628266762f745a2c17e623b418e0090f47d223909d1f9a7d4367e \
--destination git.kmalloc.org/squid/sonda:probeC-arm64 --verbosity info