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"
|
- name: "Git checkout"
|
||||||
run: git checkout "${{ gitea.sha }}"
|
run: git checkout "${{ gitea.sha }}"
|
||||||
- uses: aevea/action-kaniko@master
|
- uses: aevea/action-kaniko@master
|
||||||
name: Run Kaniko to build our docker container.
|
name: Run Kaniko to build our api docker container.
|
||||||
with:
|
with:
|
||||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
image: kocoded/nachhilfesystem/api
|
||||||
tag: api
|
tag: ${{ git.workflow_sha }}
|
||||||
|
tag_with_latest: github.ref == 'refs/heads/master'
|
||||||
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
|
target: api_serve
|
||||||
- uses: aevea/action-kaniko@master
|
- uses: aevea/action-kaniko@master
|
||||||
name: Run Kaniko to build our docker container.
|
name: Run Kaniko to build our web docker container.
|
||||||
with:
|
with:
|
||||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
image: kocoded/nachhilfesystem/web
|
||||||
tag: web
|
tag: ${{ git.workflow_sha }}
|
||||||
|
tag_with_latest: github.ref == 'refs/heads/master'
|
||||||
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: web_serve
|
target: web_serve
|
||||||
- uses: aevea/action-kaniko@master
|
- uses: aevea/action-kaniko@master
|
||||||
name: Run Kaniko to build our docker container.
|
name: Run Kaniko to build our console docker container.
|
||||||
with:
|
with:
|
||||||
image: kocoded/nachhilfesystem/nachhilfesystem
|
image: kocoded/nachhilfesystem/console
|
||||||
tag: console
|
tag: ${{ git.workflow_sha }}
|
||||||
|
tag_with_latest: github.ref == 'refs/heads/master'
|
||||||
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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user