[Snyk] Upgrade mongoose from 8.5.2 to 8.5.3 #993
Workflow file for this run
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: Publish Docker Images | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [ master ] | |
release: | |
types: [published] | |
jobs: | |
docker-build-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Frontend Docker image | |
run: docker build frontend --file frontend/Dockerfile --tag tuanicom/incap-frontend:latest | |
- name: Login to Docker | |
run: echo $DOCKER_HUB_PASSWORD | docker login --username=tuanicom --password-stdin | |
if: ${{ github.ref == 'refs/heads/master' }} | |
- name: Push Frontend Docker image | |
run: docker push tuanicom/incap-frontend:latest | |
if: ${{ github.ref == 'refs/heads/master' }} | |
docker-build-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Backend Docker image | |
run: docker build backend --file backend/Dockerfile --tag tuanicom/incap-backend:latest | |
- name: Login to Docker | |
run: echo $DOCKER_HUB_PASSWORD | docker login --username=tuanicom --password-stdin | |
if: ${{ github.ref == 'refs/heads/master' }} | |
- name: Push Backend Docker image | |
run: docker push tuanicom/incap-backend:latest | |
if: ${{ github.ref == 'refs/heads/master' }} | |
env: | |
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} |