There was an error while loading. Please reload this page.
1 parent 03a7c83 commit 7cd0ffeCopy full SHA for 7cd0ffe
1 file changed
.github/workflows/frontend_build.yml
@@ -53,3 +53,32 @@ jobs:
53
- name: Build
54
working-directory: ./frontend
55
run: pnpm run build
56
+
57
+ Docker_Build:
58
+ runs-on: ubuntu-latest
59
+ needs: [frontend-unit-test]
60
61
+ steps:
62
+ - name: Checkout repository
63
+ uses: actions/checkout@v5
64
65
+ - name: Set up Docker Buildx
66
+ uses: docker/setup-buildx-action@v3
67
68
+ - name: Build dev image
69
+ uses: docker/build-push-action@v6
70
+ with:
71
+ context: ./frontend
72
+ file: ./frontend/Dockerfile.dev
73
+ push: false
74
+ cache-from: type=gha
75
+ cache-to: type=gha,mode=max
76
77
+ - name: Build prod image
78
79
80
81
+ file: ./frontend/Dockerfile.prod
82
83
84
0 commit comments