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