Files
linux-odyssey/.github/workflows/build.yml
T
2023-11-18 22:25:05 +08:00

37 lines
856 B
YAML

name: Build
on:
workflow_call:
jobs:
build-backend:
uses: ./.github/workflows/build-docker-image.yml
with:
imageName: 'linuxodyssey/backend'
dockerfilePath: './server/Dockerfile'
target: prod
secrets: inherit
build-frontend:
uses: ./.github/workflows/build-docker-image.yml
with:
imageName: 'linuxodyssey/frontend'
dockerfilePath: './app/Dockerfile'
target: prod
secrets: inherit
build-analytics:
uses: ./.github/workflows/build-docker-image.yml
with:
imageName: 'linuxodyssey/analytics'
dockerfilePath: './packages/analytics/Dockerfile'
target: prod
secrets: inherit
build-base:
uses: ./.github/workflows/build-docker-image.yml
with:
imageName: 'linuxodyssey/quest-base'
dockerfilePath: './quests/Dockerfile'
secrets: inherit