Skip to content

[Snyk] Upgrade core-js from 3.31.0 to 3.31.1 #420

[Snyk] Upgrade core-js from 3.31.0 to 3.31.1

[Snyk] Upgrade core-js from 3.31.0 to 3.31.1 #420

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