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.
|
||||
with:
|
||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||
tag: ${{ gitea.workflow_sha }}
|
||||
tag_with_latest: true
|
||||
tag: ${{ gitea.workflow_sha }}-api
|
||||
registry: git.kocoder.xyz
|
||||
username: ${{ secrets.CI_RUNNER_USER }}
|
||||
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||
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