Set up dev branch: build :dev image, move to gooienmeer.nl domains

- Workflow builds on every push to dev and tags the image :dev (not :latest)
- git.nhgooi.nl -> git.gooienmeer.nl
- https://api.nhgooi.nl/ -> https://api.gooienmeer.nl/
- https://nhgooi.nl/ -> https://gooienmeer.nl/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
eric.busandClaude Opus 5.5 committed 2026-11-20 10:27:41 +01:00
1 parent 2b5d67a9f0
commit 93fa34732f
7 files changed
+13 -19

No files matched your search

+6 -12
View File
@@ -1,24 +1,18 @@
name: Build and Deploy
name: Build and Deploy (dev)
run-name: ${{ gitea.actor }} is building ${{ gitea.repository }}
on:
push:
branches:
- main
paths:
- 'Dockerfile'
- 'composer.json'
- 'composer.lock'
- '.gitea/workflows/build-docker.yml'
- 'version' # Change this file to force rebuild
- dev
jobs:
build:
runs-on: ubuntu-latest
env:
REGISTRY: git.nhgooi.nl
IMAGE: git.nhgooi.nl/nh_gooi/nhgooi.nl
REGISTRY: git.gooienmeer.nl
IMAGE: git.gooienmeer.nl/nh_gooi/nhgooi.nl
steps:
- name: Checkout
@@ -35,13 +29,13 @@ jobs:
run: |
docker build \
-t "$IMAGE:${{ gitea.sha }}" \
-t "$IMAGE:latest" \
-t "$IMAGE:dev" \
.
- name: Push image
run: |
docker push "$IMAGE:${{ gitea.sha }}"
docker push "$IMAGE:latest"
docker push "$IMAGE:dev"
# - name: Trigger deployment
# run: |