Files
kforge/.gitea/workflows/publish.yml
T
nate.lubitz d4ac9ee361
Publish Action Image / publish (push) Failing after 3s
update yml
2026-06-29 17:58:13 +10:00

27 lines
813 B
YAML

# Builds and pushes the kforge Docker action image on every push to main.
# Other repos reference this image via:
# action_ref: registry.container-registry.svc.cluster.local:5000/infra/kforge:latest
# in their kforge.yml, which generates:
# uses: docker://registry.container-registry.svc.cluster.local:5000/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: Build and push kforge action image
env:
DOCKER_BUILDKIT: "0"
run: |
docker build -t registry.container-registry.svc.cluster.local:5000/infra/kforge:latest .
docker push registry.container-registry.svc.cluster.local:5000/infra/kforge:latest