images/.forgejo/workflows/image_builds.yaml
Peter Kurfer bd5ac7f388
Some checks failed
Image builds / build_images (caddy) (push) Successful in 3m12s
Renovate / renovate (push) Failing after 1s
Image builds / build_images (renovate) (push) Successful in 7m59s
feat: add caddy image
2024-10-23 19:56:30 +02:00

36 lines
778 B
YAML

---
name: Image builds
on:
schedule:
- cron: "21 2 * * *"
push:
branches:
- main
jobs:
build_images:
strategy:
matrix:
image:
- renovate
- caddy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: code.icb4dc0.de
username: prskr
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: "./${{ matrix.image }}"
push: true
tags: code.icb4dc0.de/infrastructure/images/${{ matrix.image }}:latest