ci: probe a whole kaniko build (throw-away branch)
All checks were successful
probe / kaniko-build (push) Successful in 3m51s

This commit is contained in:
tgiachi 2026-11-16 13:02:32 +01:00
commit b9f1f632cb

View file

@ -3,14 +3,15 @@ on:
push:
branches: [ci/probe]
jobs:
kaniko:
kaniko-build:
runs-on: docker
container:
image: gcr.io/kaniko-project/executor:v1.23.2-debug
steps:
- name: Kaniko starts, and can read the repository by itself
- name: Kaniko builds the whole image from the repository, without pushing it
run: |
/kaniko/executor version
echo "can reach the forge: $(wget -q -O /dev/null --spider https://git.kmalloc.org/squid/sonda && echo yes || echo no)"
echo "git clone context test:"
/kaniko/executor --no-push --dockerfile Dockerfile --context git://git.kmalloc.org/squid/sonda.git#refs/heads/main --target web --tar-path /tmp/web.tar --verbosity info 2>&1 | tail -5
set -e
/kaniko/executor --no-push --dockerfile Dockerfile \
--context git://git.kmalloc.org/squid/sonda.git#refs/heads/main \
--tar-path /tmp/sonda.tar --verbosity info
ls -la /tmp/sonda.tar