images/.gitea/workflows/image_builds.yaml
Peter Kurfer 0d8c8b9cfd
All checks were successful
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 2m41s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 3m6s
KeyDB / build-key-db-image (push) Successful in 55s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 4m34s
Image builds / build_images (renovate) (push) Successful in 2m45s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 3m38s
feat: build images per arch
2023-11-29 20:19:24 +01:00

35 lines
No EOL
759 B
YAML

---
name: Image builds
on:
schedule:
- cron: '21 2 * * *'
push:
branches:
- main
jobs:
build_images:
strategy:
matrix:
image:
- renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
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@v5
with:
context: "./${{ matrix.image }}"
push: true
tags: code.icb4dc0.de/infrastructure/images/${{ matrix.image }}:latest