-
Notifications
You must be signed in to change notification settings - Fork 48
37 lines (36 loc) · 987 Bytes
/
Copy pathbuild_frontend.yml
File metadata and controls
37 lines (36 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build Frontend
on:
push:
branches:
- main
paths:
- "frontend/api/**"
- "frontend/app/**"
- "frontend/components/**"
- "frontend/contexts/**"
- "frontend/pages/**"
- "frontend/services/**"
- "frontend/styles/**"
- "frontend/public/**"
- "frontend/types/**"
- "frontend/.env"
- "frontend/*.config.ts"
- "frontend/tsconfig.json"
- "frontend/package.json"
- "frontend/pnpm-lock"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and Push Frontend Container
run: |
make build_frontend
docker push ghcr.io/findfirst-development/findfirst-frontend:latest