Files
docker-monica/.gitea/workflows/main.yaml
Roger Sikorski 286b2dc580
All checks were successful
docker-monica-build main / Dockerfile lint (push) Successful in 5s
docker-monica-build main / build (push) Successful in 1m13s
actions/checkout@v3 upgraded to v4 (#5)
Reviewed-on: #5
2023-11-29 20:35:58 +01:00

34 lines
701 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
uses: aevea/action-kaniko@master
with:
image: rogersik/monica
registry: gitea.sikorski.cloud
tag: 4
tag_with_latest: true
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}