docker-devops-helper/.gitea/workflows/dev_ubuntu.yaml
Roger Sikorski 7eafeef093
Some checks failed
build / build (push) Has been skipped
build / Dockerfile lint (push) Failing after 10s
added build of ubuntu image (#7)
Reviewed-on: #7
2023-11-12 17:28:39 +01:00

32 lines
739 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/ubuntu/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: dev-ubuntu
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/ubuntu/Dockerfile