diff --git a/.gitea/workflows/build-docker-container.yml b/.gitea/workflows/build-docker-container.yml index 15a6a19..7917951 100644 --- a/.gitea/workflows/build-docker-container.yml +++ b/.gitea/workflows/build-docker-container.yml @@ -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