feat: migrate renovate image
All checks were successful
Image builds / build_images (renovate) (push) Successful in 15s
Image builds / build_images (act_runtime) (push) Successful in 1m48s
KeyDB / build-key-db-image (push) Successful in 38s

This commit is contained in:
Peter 2023-11-17 09:03:46 +01:00
parent c3beb27941
commit dc56891f9e
No known key found for this signature in database
3 changed files with 20 additions and 4 deletions

View file

@ -1,5 +1,5 @@
--- ---
name: act runner name: Image builds
on: on:
schedule: schedule:
- cron: '21 2 * * *' - cron: '21 2 * * *'
@ -8,7 +8,12 @@ on:
- main - main
jobs: jobs:
build-act-runner: build_images:
strategy:
matrix:
image:
- act_runtime
- renovate
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -26,6 +31,6 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: "./act_runner" context: "./${{ matrix.image }}"
push: true push: true
tags: code.icb4dc0.de/infrastructure/images/act_runtime:latest tags: code.icb4dc0.de/infrastructure/images/${{ matrix.image }}:latest

11
renovate/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM docker.io/golang:1.21-alpine AS go-tools-builder
RUN go install github.com/marwan-at-work/mod/cmd/mod@latest
FROM docker.io/node:lts-alpine
COPY --from=go-tools-builder /go/bin/ /usr/local/bin/
RUN npm install -g renovate && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk add -U --no-cache git go re2