Bug fix for adding unserved point in editing tool #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push Docker Images to GitHub Registry | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- 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 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 my-nginx Docker image | |
run: | | |
docker build --network=host -f Dockerfile.nginx -t ghcr.io/spin-vt/my-nginx:latest . | |
docker push ghcr.io/spin-vt/my-nginx:latest |