Download and run Kaniko binary directly
Some checks failed
Check Container Build Capability / check-build (push) Failing after 0s
Check Kaniko Build (Safe) / kaniko-build (push) Failing after 1s
Verify Mac Runner / verify-runner (push) Successful in 0s

This commit is contained in:
2025-12-29 20:24:36 -06:00
parent 19d770bf9c
commit 05391a1af3

View File

@@ -20,9 +20,13 @@ jobs:
echo "RUN echo 'Kaniko build successful'" >> Dockerfile echo "RUN echo 'Kaniko build successful'" >> Dockerfile
- name: Build with Kaniko - name: Build with Kaniko
# Kaniko runs as a standalone container for this step run: |
uses: docker://gcr.io/kaniko-project/executor:debug # Download Kaniko executor binary
with: curl -LO https://github.com/GoogleContainerTools/kaniko/releases/download/v1.23.2/executor-linux-arm64
# --no-push just builds it to verify it works. chmod +x executor-linux-arm64
# To push, you would add --destination registry/image:tag
args: --context . --dockerfile Dockerfile --no-push # Run Kaniko directly
./executor-linux-arm64 \
--context . \
--dockerfile Dockerfile \
--no-push