All checks were successful
ci/woodpecker/push/default Pipeline was successful
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
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/k8s-portal/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/k8s-portal/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 }}
|