Files
babymonitor/.gitea/workflows/backend.yml
T
jacobh2 c2fa9b0e4e
Build Frontend / build (push) Failing after 54s
Add default shell
2026-05-29 10:22:14 +02:00

31 lines
567 B
YAML

name: Build Backend
defaults:
run:
shell: sh
on:
push:
paths:
- "backend/**"
jobs:
build:
runs-on: host
steps:
- name: Install Git
run: apk add --no-cache git
- name: Checkout
uses: actions/checkout@v3
with:
# Tells the action to use the local 'git' binary we just installed
set-safe-directory: 'true'
- name: Build Docker image
run: |
docker build \
--platform linux/arm64 \
-t babymonitor-backend:latest \
./backend