Update .gitea/workflows/backend.yml

This commit is contained in:
2026-05-29 16:31:57 +02:00
parent 0ca64b9b5d
commit 05f71283db
+6 -1
View File
@@ -8,6 +8,7 @@ on:
push: push:
paths: paths:
- "backend/**" - "backend/**"
workflow_dispatch: {}
jobs: jobs:
build: build:
@@ -22,10 +23,14 @@ jobs:
# Tells the action to use the local 'git' binary we just installed # Tells the action to use the local 'git' binary we just installed
set-safe-directory: 'true' set-safe-directory: 'true'
- name: Log in to Gitea Container Registry
# This uses the automated token provided natively by Gitea Actions
run: echo "${{ github.token }}" | docker login gitea.lan:3001 -u ${{ github.actor }} --password-stdin
- name: Build Docker image - name: Build Docker image
run: | run: |
docker buildx build \ docker buildx build \
--platform linux/arm64 \ --platform linux/arm64 \
-t babymonitor-backend:latest \ -t gitea.lan:3001/jacobh2/babymonitor:backend-latest \
./backend \ ./backend \
--load --load