Skip to content

change paths to dockerfiles #2

change paths to dockerfiles

change paths to dockerfiles #2

name: Build and Publish
on:
push:
branches: [ "main" ]
jobs:
build-push-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/docker-build-and-push
name: build and push
with:
image-name: "preservation-api"
dockerfile: "./LeedsExperiment/Preservation.API/Dockerfile"
context: "./LeedsExperiment/Preservation.API"
github-token: ${{ secrets.GITHUB_TOKEN }}
build-push-dashboard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/docker-build-and-push
with:
image-name: "dashboard"
dockerfile: "./LeedsExperiment/Dashboard/Dockerfile"
context: "./LeedsExperiment/Dashboard"
github-token: ${{ secrets.GITHUB_TOKEN }}