docker-devops-helper/.gitea/workflows/dev.yaml
Roger Sikorski abb31b634e
All checks were successful
build / Dockerfile lint (push) Successful in 7s
build / build (push) Successful in 25s
faster MR
2023-11-12 12:35:21 +01:00

31 lines
671 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 # lets process faster pull-requests
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 }}