Build each target container individually
This commit is contained in:
parent
12e4b46761
commit
13a5edc9ac
|
@ -20,9 +20,29 @@ jobs:
|
||||||
name: Run Kaniko to build our docker container.
|
name: Run Kaniko to build our docker container.
|
||||||
with:
|
with:
|
||||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||||
tag: ${{ gitea.workflow_sha }}
|
tag: ${{ gitea.workflow_sha }}-api
|
||||||
tag_with_latest: true
|
|
||||||
registry: git.kocoder.xyz
|
registry: git.kocoder.xyz
|
||||||
username: ${{ secrets.CI_RUNNER_USER }}
|
username: ${{ secrets.CI_RUNNER_USER }}
|
||||||
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||||
build_file: Dockerfile
|
build_file: Dockerfile
|
||||||
|
target: api_serve
|
||||||
|
- uses: aevea/action-kaniko@master
|
||||||
|
name: Run Kaniko to build our docker container.
|
||||||
|
with:
|
||||||
|
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||||
|
tag: ${{ gitea.workflow_sha }}-web
|
||||||
|
registry: git.kocoder.xyz
|
||||||
|
username: ${{ secrets.CI_RUNNER_USER }}
|
||||||
|
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||||
|
build_file: Dockerfile
|
||||||
|
target: web_serve
|
||||||
|
- uses: aevea/action-kaniko@master
|
||||||
|
name: Run Kaniko to build our docker container.
|
||||||
|
with:
|
||||||
|
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||||
|
tag: ${{ gitea.workflow_sha }}-console
|
||||||
|
registry: git.kocoder.xyz
|
||||||
|
username: ${{ secrets.CI_RUNNER_USER }}
|
||||||
|
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||||
|
build_file: Dockerfile
|
||||||
|
target: console
|
||||||
|
|
Loading…
Reference in New Issue
Block a user