feat: migrate renovate image
This commit is contained in:
parent
c3beb27941
commit
dc56891f9e
3 changed files with 20 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
name: act runner
|
||||
name: Image builds
|
||||
on:
|
||||
schedule:
|
||||
- cron: '21 2 * * *'
|
||||
|
@ -8,7 +8,12 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
build-act-runner:
|
||||
build_images:
|
||||
strategy:
|
||||
matrix:
|
||||
image:
|
||||
- act_runtime
|
||||
- renovate
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -26,6 +31,6 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: "./act_runner"
|
||||
context: "./${{ matrix.image }}"
|
||||
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
11
renovate/Dockerfile
Normal 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
|
Loading…
Reference in a new issue