Files
docker-monica/.gitea/workflows/dev.yaml
Roger Sikorski 89b12cd413
All checks were successful
docker-monica-build mr / build (push) Has been cancelled
try kaniko
Signed-off-by: Roger Sikorski <roger@sikorski.cloud>
2023-08-01 07:23:14 +02:00

40 lines
1021 B
YAML

name: docker-monica-build mr
on:
push:
branches-ignore:
- main
jobs:
# Dockerfile lint:
# runs-on: k3s
# steps:
# - uses: actions/checkout@v3
# - uses: hadolint/hadolint-action@v3.1.0
# with:
# 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:
# needs: Dockerfile lint
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:
- uses: actions/checkout@v3
- run: |
/kaniko/executor
--context .
--dockerfile ./Dockerfile"
--destination gitea.sikorski.cloud/rogersik/monica:development