try kaniko
All checks were successful
docker-monica-build mr / build (push) Has been cancelled

Signed-off-by: Roger Sikorski <roger@sikorski.cloud>
This commit is contained in:
2023-08-01 07:23:14 +02:00
parent 62613bbe5d
commit 89b12cd413

View File

@@ -14,13 +14,26 @@ jobs:
# with: # with:
# dockerfile: Dockerfile # dockerfile: Dockerfile
# build:
# # needs: Dockerfile lint
# runs-on: docker # because of ipv4 problem in k3s we use docker vm
# steps:
# - uses: actions/checkout@v3
# - name: Kaniko build
# uses: aevea/action-kaniko@v0.10.0
# with:
# image: gitea.sikorski.cloud/rogersik/monica
# tag: development
build: build:
# needs: Dockerfile lint # needs: Dockerfile lint
runs-on: docker # because of ipv4 problem in k3s we use docker vm runs-on: docker # because of ipv4 problem in k3s we use docker vm
container:
image: gcr.io/kaniko-project/executor:v1.9.0-debug
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Kaniko build - run: |
uses: aevea/action-kaniko@v0.10.0 /kaniko/executor
with: --context .
image: gitea.sikorski.cloud/rogersik/monica --dockerfile ./Dockerfile"
tag: development --destination gitea.sikorski.cloud/rogersik/monica:development