File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 context : ./api-gateway/
3535 platforms : linux/amd64,linux/arm64
3636 push : true
37- tags : |
38- javeddev/api-gateway:latest
39- javeddev/api-gateway:${{ github.sha }}
37+ tags : javedmv/api-gateway:latest
Original file line number Diff line number Diff line change 1+ name : Build and publish auth service to Docker Hub
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ paths :
7+ - " auth-service/**"
8+ workflow_dispatch :
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up QEMU
20+ uses : docker/setup-qemu-action@v2
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Login to Docker Hub
26+ uses : docker/login-action@v2
27+ with :
28+ username : ${{ secrets.DOCKER_USERNAME }}
29+ password : ${{ secrets.DOCKER_PASSWORD }}
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : ./auth-service/
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : javedmv/auth-service:latest
Original file line number Diff line number Diff line change 1+ name : Build and publish chat service to Docker Hub
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ paths :
7+ - " chat-service/**"
8+ workflow_dispatch :
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up QEMU
20+ uses : docker/setup-qemu-action@v2
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Login to Docker Hub
26+ uses : docker/login-action@v2
27+ with :
28+ username : ${{ secrets.DOCKER_USERNAME }}
29+ password : ${{ secrets.DOCKER_PASSWORD }}
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : ./chat-service/
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : javedmv/chat-service:latest
Original file line number Diff line number Diff line change 1+ name : Build and publish course srv to Docker Hub
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ paths :
7+ - " course-srv/**"
8+ workflow_dispatch :
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up QEMU
20+ uses : docker/setup-qemu-action@v2
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Login to Docker Hub
26+ uses : docker/login-action@v2
27+ with :
28+ username : ${{ secrets.DOCKER_USERNAME }}
29+ password : ${{ secrets.DOCKER_PASSWORD }}
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : ./course-srv/
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : javedmv/course-srv:latest
Original file line number Diff line number Diff line change 1+ name : Build and publish notification service to Docker Hub
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ paths :
7+ - " notification-service/**"
8+ workflow_dispatch :
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up QEMU
20+ uses : docker/setup-qemu-action@v2
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Login to Docker Hub
26+ uses : docker/login-action@v2
27+ with :
28+ username : ${{ secrets.DOCKER_USERNAME }}
29+ password : ${{ secrets.DOCKER_PASSWORD }}
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : ./notification-service/
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : javedmv/notification-service:latest
Original file line number Diff line number Diff line change 1+ name : Build and publish payment srv to Docker Hub
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ paths :
7+ - " payment-srv/**"
8+ workflow_dispatch :
9+
10+ jobs :
11+ push_to_registry :
12+ name : Push Docker image to Docker Hub
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out the repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up QEMU
20+ uses : docker/setup-qemu-action@v2
21+
22+ - name : Set up Docker Buildx
23+ uses : docker/setup-buildx-action@v2
24+
25+ - name : Login to Docker Hub
26+ uses : docker/login-action@v2
27+ with :
28+ username : ${{ secrets.DOCKER_USERNAME }}
29+ password : ${{ secrets.DOCKER_PASSWORD }}
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v4
33+ with :
34+ context : ./payment-srv/
35+ platforms : linux/amd64,linux/arm64
36+ push : true
37+ tags : javedmv/payment-srv:latest
You can’t perform that action at this time.
0 commit comments