Files
babymonitor/.gitea/workflows/frontend.yml
T

31 lines
571 B
YAML

name: Build Frontend
defaults:
run:
shell: sh
on:
push:
paths:
- "frontend/**"
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-frontend:latest \
./frontend