Skip to content

[Snyk] Upgrade mongoose from 8.6.2 to 8.6.3 #1065

[Snyk] Upgrade mongoose from 8.6.2 to 8.6.3

[Snyk] Upgrade mongoose from 8.6.2 to 8.6.3 #1065

Workflow file for this run

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 }}