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