Skip to content

build(deps-dev): bump axios from 1.7.3 to 1.7.4 in /frontend #987

build(deps-dev): bump axios from 1.7.3 to 1.7.4 in /frontend

build(deps-dev): bump axios from 1.7.3 to 1.7.4 in /frontend #987

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