docker-devops-helper/.gitea/workflows/dev.yaml
Roger Sikorski 3cb770274c
Some checks failed
build / Dockerfile lint (push) Failing after 6s
build / build (push) Has been skipped
hadolint, k3s and kaniko build added
2023-08-22 17:35:00 +02:00

31 lines
633 B
YAML

name: build
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:
runs-on: k3s
needs: Dockerfile lint
steps:
- uses: actions/checkout@v3
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
image: rogersik/devops-helper
registry: gitea.sikorski.cloud
tag: development
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}