ci: build.yml alleen handmatig (server bouwt zelf)
All checks were successful
Deploy server-up (prod) / deploy (push) Successful in 44s

This commit is contained in:
bes-r 2026-06-02 23:48:15 +02:00
parent 9798c938cb
commit 49d3d82344

View file

@ -1,18 +1,23 @@
# Forgejo Actions — bouw + push image bij elke tag-push # Forgejo Actions — bouw + push image NAAR DE REGISTRY (optioneel, handmatig)
# #
# Activeert wanneer je `git push --tags` doet met een v*-tag. # UITGESCHAKELD voor automatische runs. Deze server bouwt zelf via
# Bakt de tag in als SU_VERSION zodat het image z'n eigen versie kent. # deploy-prod.yml / deploy.yml (rsync + `docker compose build`), dus een
# registry-push is niet nodig. Stond dit op `push: tags: v*`, dan bleef de job
# hangen omdat hij een runner met label `docker` zoekt die niet bestaat —
# dat veroorzaakte de eindeloos "building" run in de Actions-tab.
# #
# Vereisten in Forgejo: # Wil je tóch naar de Forgejo container-registry publiceren: start deze workflow
# handmatig via de Actions-tab (Run workflow) en zorg dat er een runner met
# label `docker` bestaat (of pas `runs-on` aan naar je eigen runner-label).
#
# Vereisten (alleen voor handmatige runs):
# Settings → Variables → REGISTRY=git.example.com, OWNER=bes-r # Settings → Variables → REGISTRY=git.example.com, OWNER=bes-r
# Settings → Secrets → PACKAGE_TOKEN=<token met write:package scope> # Settings → Secrets → PACKAGE_TOKEN=<token met write:package scope>
name: Build and push image name: Build and push image (handmatig)
on: on:
push: workflow_dispatch:
tags:
- "v*"
jobs: jobs:
build: build: