k8s-portal: build off-infra GHA -> ghcr + Keel; remove Woodpecker build (no-local-builds)
Some checks failed
ci/woodpecker/push/default Pipeline was canceled
Some checks failed
ci/woodpecker/push/default Pipeline was canceled
The last in-cluster image build. GHA build-k8s-portal.yml builds ghcr.io/viktorbarzin/k8s-portal:latest+sha (path-filtered on the Dockerfile dir); Keel (force/poll/match-tag) rolls the deployment. Stack image repointed to ghcr (ignore_changed); .woodpecker/k8s-portal.yml deleted. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
9501da81a0
commit
b906f61ac3
3 changed files with 50 additions and 53 deletions
36
.github/workflows/build-k8s-portal.yml
vendored
Normal file
36
.github/workflows/build-k8s-portal.yml
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: Build k8s-portal
|
||||
|
||||
# ADR-0002 / no-local-builds: k8s-portal (infra-owned Go portal) builds off-infra
|
||||
# on GHA → public ghcr; Keel polls ghcr:latest and rolls the deployment. Replaces
|
||||
# the in-cluster .woodpecker/k8s-portal.yml build.
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'stacks/platform/modules/k8s-portal/files/**'
|
||||
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: stacks/platform/modules/k8s-portal/files
|
||||
platforms: linux/amd64
|
||||
provenance: false
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/viktorbarzin/k8s-portal:latest
|
||||
ghcr.io/viktorbarzin/k8s-portal:${{ github.sha }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue