Skip to content

Update docker-image.yml #4

Update docker-image.yml

Update docker-image.yml #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the backend Docker image and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: openpro-backend
registry: ghcr.io
directory: /home/runner/work/openpro/openpro/backend
addLatest: true
addTimestamp: true
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build the frontend Docker image and push
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: openpro-frontend
registry: ghcr.io
directory: /home/runner/work/openpro/openpro/frontend
addLatest: true
addTimestamp: true
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}