From 23fc2bf2ec0af7e50bab6d72cfd84e89f5bb938f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 13 Jun 2026 09:53:43 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20GHA=E2=86=92ghcr=20build=20for=20infra-ci?= =?UTF-8?q?=20(ADR-0002=20#30,=20bootstrap-safe=20=E2=80=94=20woodpecker?= =?UTF-8?q?=20build=20kept=20until=20proven)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- .github/workflows/build-infra-ci.yml | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/build-infra-ci.yml diff --git a/.github/workflows/build-infra-ci.yml b/.github/workflows/build-infra-ci.yml new file mode 100644 index 00000000..f3a4614f --- /dev/null +++ b/.github/workflows/build-infra-ci.yml @@ -0,0 +1,37 @@ +name: Build infra-ci + +# ADR-0002: the infra CI toolbox image (terraform/terragrunt/sops/kubectl/vault) +# built off-infra on GHA → ghcr (public). BOOTSTRAP-CRITICAL: .woodpecker/default.yml's +# apply step runs in this image. The Woodpecker build-ci-image.yml is kept until a +# ghcr-based apply is proven, then removed. +on: + push: + branches: [master] + paths: + - 'ci/Dockerfile' + workflow_dispatch: {} + +permissions: + contents: read + packages: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/build-push-action@v6 + with: + context: ci + platforms: linux/amd64 + provenance: false + push: true + tags: | + ghcr.io/viktorbarzin/infra-ci:latest + ghcr.io/viktorbarzin/infra-ci:${{ github.sha }}