Skip to content

Commit

Permalink
nginx image
Browse files Browse the repository at this point in the history
Signed-off-by: Vineet <[email protected]>
  • Loading branch information
vineetm3 committed Oct 13, 2023
1 parent 1a9d3eb commit d8ffeb4
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/docker_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
- name: Login to GitHub Docker Registry
run: echo "${{secrets.DOCKER_LOGIN_TOKEN}}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build and push Worker Docker image
run: |
docker build --network=host -t ghcr.io/spin-vt/worker:latest ./back-end -f ./back-end/Dockerfile.worker
docker push ghcr.io/spin-vt/worker:latest
# - name: Build and push Worker Docker image
# run: |
# docker build --network=host -t ghcr.io/spin-vt/worker:latest ./back-end -f ./back-end/Dockerfile.worker
# docker push ghcr.io/spin-vt/worker:latest

- name: Build and push Backend Docker image
run: |
docker build --network=host -t ghcr.io/spin-vt/backend:latest ./back-end -f ./back-end/Dockerfile.backend
docker push ghcr.io/spin-vt/backend:latest
# - name: Build and push Backend Docker image
# run: |
# docker build --network=host -t ghcr.io/spin-vt/backend:latest ./back-end -f ./back-end/Dockerfile.backend
# docker push ghcr.io/spin-vt/backend:latest

- name: Build and push Frontend Docker image
run: |
docker build --network=host -t ghcr.io/spin-vt/frontend:latest ./front-end
docker push ghcr.io/spin-vt/frontend:latest
# - name: Build and push Frontend Docker image
# run: |
# docker build --network=host -t ghcr.io/spin-vt/frontend:latest ./front-end
# docker push ghcr.io/spin-vt/frontend:latest

- name: Build and push my-nginx Docker image
run: |
docker build --network=host -t ghcr.io/spin-vt/my-nginx:latest .
docker build --network=host -t ghcr.io/spin-vt/my-nginx:latest ./Dockerfile.nginx
docker push ghcr.io/spin-vt/my-nginx:latest

0 comments on commit d8ffeb4

Please sign in to comment.