From 304053f14b2a27b38451803f9e57b1d1fd01b9a2 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 26 Jul 2026 18:57:10 -0500 Subject: [PATCH] fix: make CI standalone - use kaniko binary directly, no external action dependency --- .forgejo/workflows/build.yaml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 14487f3..0e74fe5 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -22,17 +22,21 @@ jobs: TAG="main-${TIMESTAMP}-${SHORT_SHA}" echo "tag=${TAG}" >> $GITHUB_OUTPUT - - name: Build and Push via Kaniko - uses: https://git.mcintire.me/graham/infra/.forgejo/actions/kaniko-build@main - with: - token: ${{ secrets.FORGEJO_TOKEN }} - image: git.mcintire.me/graham/aprs.me - tag: ${{ steps.tag.outputs.tag }} + - name: Build and Push with Kaniko + run: | + KANIKO_VERSION="v1.23.2" + curl -fsSL "https://github.com/GoogleContainerTools/kaniko/releases/download/${KANIKO_VERSION}/executor-linux-amd64" \ + -o /usr/local/bin/executor + chmod +x /usr/local/bin/executor - - name: Tag as latest - uses: https://git.mcintire.me/graham/infra/.forgejo/actions/kaniko-build@main - with: - token: ${{ secrets.FORGEJO_TOKEN }} - image: git.mcintire.me/graham/aprs.me - tag: latest - extra_args: "" + mkdir -p /kaniko/.docker + cat > /kaniko/.docker/config.json <