From b9f1f632cb91731cb4d5a435586c15fb5f7835b8 Mon Sep 17 00:00:00 2001 From: tgiachi Date: Mon, 16 Nov 2026 13:02:32 +0100 Subject: [PATCH] ci: probe a whole kaniko build (throw-away branch) --- .forgejo/workflows/probe.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/probe.yml b/.forgejo/workflows/probe.yml index eb3342d..c8d205e 100644 --- a/.forgejo/workflows/probe.yml +++ b/.forgejo/workflows/probe.yml @@ -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