Peter
0507623e63
All checks were successful
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 16s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 16s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 22s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 15s
KeyDB / build-key-db-image (push) Successful in 36s
Image builds / build_images (renovate) (push) Successful in 2m34s
36 lines
1.6 KiB
YAML
36 lines
1.6 KiB
YAML
---
|
|
name: KeyDB
|
|
on:
|
|
schedule:
|
|
- cron: "21 2 * * *"
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-key-db-image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Compose manifest
|
|
uses: docker://quay.io/containers/buildah:v1.34.0
|
|
with:
|
|
entrypoint: /bin/bash
|
|
args: |
|
|
-c -- 'buildah login "${IMAGE_REGISTRY}" --username "${GITEA_USER}" --password ${{ secrets.CONTAINER_REGISTRY_TOKEN }} && \
|
|
buildah pull "docker.io/eqalpha/keydb:x86_64_${IMAGE_TAG}" && \
|
|
buildah tag "docker.io/eqalpha/keydb:x86_64_${IMAGE_TAG}" "${IMAGE_REGISTRY}/${IMAGE_REPO}:x86_64_${IMAGE_TAG}" && \
|
|
buildah pull "docker.io/eqalpha/keydb:arm64_${IMAGE_TAG}" && \
|
|
buildah tag "docker.io/eqalpha/keydb:arm64_${IMAGE_TAG}" "${IMAGE_REGISTRY}/${IMAGE_REPO}:arm64_${IMAGE_TAG}" && \
|
|
buildah manifest create "${IMAGE_REGISTRY}/${IMAGE_REPO}:${IMAGE_TAG}" && \
|
|
buildah manifest add "${IMAGE_REGISTRY}/${IMAGE_REPO}:${IMAGE_TAG}" "${IMAGE_REGISTRY}/${IMAGE_REPO}:x86_64_${IMAGE_TAG}" && \
|
|
buildah manifest add "${IMAGE_REGISTRY}/${IMAGE_REPO}:${IMAGE_TAG}" "${IMAGE_REGISTRY}/${IMAGE_REPO}:arm64_${IMAGE_TAG}" && \
|
|
buildah manifest push --all "${IMAGE_REGISTRY}/${IMAGE_REPO}:${IMAGE_TAG}" "docker://${IMAGE_REGISTRY}/${IMAGE_REPO}:${IMAGE_TAG}"'
|
|
env:
|
|
GITEA_USER: prskr
|
|
IMAGE_REGISTRY: code.icb4dc0.de
|
|
IMAGE_REPO: infrastructure/images/keydb
|
|
IMAGE_TAG: v6.3.4
|