Skip to content

Commit 0d4a081

Browse files
committed
feat: Added workflow for frontend.
1 parent 98241a0 commit 0d4a081

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/frontend.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build frontend docker images
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- "Server/**"
7+
- "README.md"
8+
9+
jobs:
10+
build-image:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Docker hub login
17+
uses: docker/login-action@v3
18+
with:
19+
username: ${{secrets.DOCKERHUB_USERNAME}}
20+
password: ${{secrets.DOCKERHUB_PASSWORD}}
21+
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v3
24+
25+
- name: Set up docker buildx
26+
uses: docker/setup-buildx-action@v3
27+
28+
- name: Frontend image
29+
uses: docker/build-push-action@v6
30+
with:
31+
context: .
32+
push: true
33+
tags: ${{secrets.DOCKERHUB_USERNAME}}/uniprep-frontend:latest

0 commit comments

Comments
 (0)