Files
docker-monica/.gitea/workflows/main.yaml
Roger Sikorski 62d16cda00
All checks were successful
docker-monica-build main / Dockerfile lint (push) Successful in 3s
docker-monica-build main / build (push) Successful in 1m43s
bugfix
2024-03-28 14:27:05 +01:00

35 lines
813 B
YAML

---
name: docker-monica-build main
on:
push:
branches:
- main
schedule:
- cron: "0 6 * * SUN"
jobs:
Dockerfile lint:
runs-on: k3s
steps:
- uses: actions/checkout@v4
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
build:
needs: Dockerfile lint
runs-on: k3s
steps:
- uses: actions/checkout@v4
- name: Kaniko build
# https://github.com/aevea/action-kaniko/releases
uses: aevea/action-kaniko@v0.12.0
with:
image: rogersik/monica
registry: gitea.sikorski.cloud
tag: 4
# tag_with_latest: true # https://github.com/aevea/action-kaniko/issues/66
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}