Files
kforge/.gitea/workflows/publish.yml
T
nate.lubitz ca88bccadf
Publish Action Image / build (push) Failing after 4s
Publish Action Image / publish (push) Failing after 13s
remove docker login
2026-06-29 17:46:30 +10:00

35 lines
963 B
YAML

# Builds and pushes the kforge Docker action image on every push to main.
# Other repos reference this image via:
# action_ref: registry.natelubitz.com/infra/kforge:latest
# in their kforge.yml, which generates:
# uses: docker://registry.natelubitz.com/infra/kforge:latest
name: Publish Action Image
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push kforge action image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: |
registry.container-registry.svc.cluster.local:5000/infra/kforge:latest
registry.container-registry.svc.cluster.local:5000/infra/kforge:${{ gitea.sha }}
provenance: false
sbom: false