docker-devops-helper/.gitea/workflows/dev.yaml

31 lines
633 B
YAML
Raw Normal View History

name: build
2023-07-23 19:14:51 +02:00
on:
push:
branches-ignore:
- main
2023-07-23 19:14:51 +02:00
jobs:
Dockerfile lint:
runs-on: k3s
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
2023-07-23 19:14:51 +02:00
build:
runs-on: k3s
needs: Dockerfile lint
2023-07-23 19:14:51 +02:00
steps:
2023-07-23 19:33:00 +02:00
- 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 }}