docker-devops-helper/.gitea/workflows/main_ubuntu.yaml
Roger Sikorski d8644e1fa6
Some checks failed
build / build (push) Successful in 1m30s
build / Dockerfile lint (push) Failing after 7s
added build of ubuntu image
2023-11-12 17:17:52 +01:00

33 lines
723 B
YAML

name: build
on:
push:
branches:
- main
schedule:
- cron: "0 6 * * SUN"
jobs:
Dockerfile lint:
runs-on: k3s
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile/ubuntu/
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: latest-ubuntu
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/aline/Dockerfile