Skip to content

Commit 961150c

Browse files
committed
Merge branch 'master' of github.com:RealTeamRocket/rocket-app
2 parents 2270a40 + 8fa5eb7 commit 961150c

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: Build and Push Docker Image
2-
31
on:
42
push:
53
branches:
64
- master
75
paths:
8-
- 'rocket-backend/**'
6+
- 'rocket-backend/**'
7+
- 'website/**'
98
workflow_dispatch:
109

1110
jobs:
@@ -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

0 commit comments

Comments
 (0)