mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: update workflows
* build images with automatic tags * separate staging and production deployment * reuse workflows
This commit is contained in:
1 parent
81581c4635
commit
7d25c7efaa
8 files changed
+197
-118
No files matched your search
@@ -0,0 +1,32 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
build-backend:
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
imageName: 'linuxodyssey/backend'
|
||||
dockerfilePath: './server/Dockerfile'
|
||||
target: prod
|
||||
|
||||
build-frontend:
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
imageName: 'linuxodyssey/frontend'
|
||||
dockerfilePath: './app/Dockerfile'
|
||||
target: prod
|
||||
|
||||
build-analytics:
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
imageName: 'linuxodyssey/analytics'
|
||||
dockerfilePath: './packages/analytics/Dockerfile'
|
||||
target: prod
|
||||
|
||||
build-base:
|
||||
uses: ./.github/workflows/build-docker-image.yml
|
||||
with:
|
||||
imageName: 'linuxodyssey/base'
|
||||
dockerfilePath: './quests/Dockerfile'
|
||||
Reference in new issue
Block a user