images/.forgejo/workflows/act_runtime.yaml
Peter c601f4168a
Some checks failed
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 37s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 15s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Failing after 3m36s
Image builds / build-ente-images (photos) (push) Successful in 18s
Image builds / build-ente-images (cast) (push) Successful in 1m17s
Renovate / renovate (push) Successful in 33s
Image builds / build_images (renovate) (push) Successful in 3m9s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 6m31s
chore(deps): update docker/build-push-action action to v6
2024-08-15 08:55:26 +00:00

49 lines
1.4 KiB
YAML

---
name: act_runtime
on:
schedule:
- cron: "21 2 * * *"
push:
branches:
- main
paths:
- ".forgejo/workflows/act_runtime.yaml"
- "act_runtime/**"
env:
TAGS: '{"ubuntu-latest": {"node:20-bullseye-slim": "20.04-arm64","node:20-bookworm-slim": "arm64"},"ubuntu-latest-amd64": {"node:20-bullseye-slim": "20.04-amd64","node:20-bookworm-slim": "amd64"}}'
VERSIONS: '{"node:20-bullseye-slim": {"llvm": "13"},"node:20-bookworm-slim": {"llvm": "16"}}'
jobs:
build_images:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-latest-amd64
base:
- node:20-bullseye-slim
- node:20-bookworm-slim
runs-on: ${{ matrix.os }}
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: "./act_runtime"
push: true
tags: code.icb4dc0.de/infrastructure/images/act_runtime:${{ fromJSON(env.TAGS)[matrix.os][matrix.base] }}
build-args: |
BASE_IMAGE=${{ matrix.base }}
LLVM_VERSION=${{ fromJSON(env.VERSIONS)[matrix.base]["llvm"] }}