From 05391a1af392e49683392d1f5a29b5a55abc8971 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 29 Dec 2025 20:24:36 -0600 Subject: [PATCH] Download and run Kaniko binary directly --- .gitea/workflows/kaniko-check.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/kaniko-check.yaml b/.gitea/workflows/kaniko-check.yaml index 85fa1c0..f20caea 100644 --- a/.gitea/workflows/kaniko-check.yaml +++ b/.gitea/workflows/kaniko-check.yaml @@ -20,9 +20,13 @@ jobs: echo "RUN echo 'Kaniko build successful'" >> Dockerfile - name: Build with Kaniko - # Kaniko runs as a standalone container for this step - uses: docker://gcr.io/kaniko-project/executor:debug - with: - # --no-push just builds it to verify it works. - # To push, you would add --destination registry/image:tag - args: --context . --dockerfile Dockerfile --no-push + run: | + # Download Kaniko executor binary + curl -LO https://github.com/GoogleContainerTools/kaniko/releases/download/v1.23.2/executor-linux-arm64 + chmod +x executor-linux-arm64 + + # Run Kaniko directly + ./executor-linux-arm64 \ + --context . \ + --dockerfile Dockerfile \ + --no-push