File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Push Docker Image
2-
31on :
42 push :
53 branches :
64 - master
75 paths :
8- - ' rocket-backend/**'
6+ - ' rocket-backend/**'
7+ - ' website/**'
98 workflow_dispatch :
109
1110jobs :
@@ -28,10 +27,19 @@ jobs:
2827 - name : Set up Docker Buildx
2928 uses : docker/setup-buildx-action@v2
3029
31- # Build and Push Docker Image
32- - name : Build and Push Docker Image
30+ # Build and Push Backend Image
31+ - name : Build and Push Backend Image
3332 uses : docker/build-push-action@v4
3433 with :
3534 context : ./rocket-backend
3635 push : true
3736 tags : ${{ secrets.DOCKER_USERNAME }}/rocket-backend:latest
37+
38+ # Build and Push Website Image
39+ - name : Build and Push Website Image
40+ uses : docker/build-push-action@v4
41+ with :
42+ context : ./website
43+ file : ./website/Dockerfile
44+ push : true
45+ tags : ${{ secrets.DOCKER_USERNAME }}/rocket-website:latest
You can’t perform that action at this time.
0 commit comments