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:
paths:
- "backend/**"
workflow_dispatch: {}
jobs:
build:
@@ -22,10 +23,14 @@ jobs:
# Tells the action to use the local 'git' binary we just installed
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
run: |
docker buildx build \
--platform linux/arm64 \
-t babymonitor-backend:latest \
-t gitea.lan:3001/jacobh2/babymonitor:backend-latest \
./backend \
--load