Container-tags: add version, use diffrent names for web, api, and console
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 27m43s
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 27m43s
This commit is contained in:
parent
b97c2f7fbc
commit
6c176b3cdb
|
@ -16,30 +16,33 @@ jobs:
|
|||
- name: "Git checkout"
|
||||
run: git checkout "${{ gitea.sha }}"
|
||||
- uses: aevea/action-kaniko@master
|
||||
name: Run Kaniko to build our docker container.
|
||||
name: Run Kaniko to build our api docker container.
|
||||
with:
|
||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||
tag: api
|
||||
image: kocoded/nachhilfesystem/api
|
||||
tag: ${{ git.workflow_sha }}
|
||||
tag_with_latest: github.ref == 'refs/heads/master'
|
||||
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.
|
||||
name: Run Kaniko to build our web docker container.
|
||||
with:
|
||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||
tag: web
|
||||
image: kocoded/nachhilfesystem/web
|
||||
tag: ${{ git.workflow_sha }}
|
||||
tag_with_latest: github.ref == 'refs/heads/master'
|
||||
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.
|
||||
name: Run Kaniko to build our console docker container.
|
||||
with:
|
||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
||||
tag: console
|
||||
image: kocoded/nachhilfesystem/console
|
||||
tag: ${{ git.workflow_sha }}
|
||||
tag_with_latest: github.ref == 'refs/heads/master'
|
||||
registry: git.kocoder.xyz
|
||||
username: ${{ secrets.CI_RUNNER_USER }}
|
||||
password: ${{ secrets.CI_RUNNER_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user