feat: add renovate image
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Peter 2023-02-28 20:25:55 +01:00
parent 47662e9786
commit b77ff7c1c1
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
3 changed files with 20 additions and 5 deletions

View file

@ -48,4 +48,19 @@ steps:
from_secret: gitea_token
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/caddy
IMAGE_TAG: latest
BUILD_CONTEXT: caddy/
BUILD_CONTEXT: caddy/
- name: renovate
image: gcr.io/kaniko-project/executor:debug
network_mode: host
commands:
- >
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $$GITEA_USER $$GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
- /kaniko/executor --destination "$${IMAGE_REPO}:$${IMAGE_TAG}" --context "$${BUILD_CONTEXT}"
environment:
GITEA_USER: prskr
GITEA_TOKEN:
from_secret: gitea_token
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/renovate
IMAGE_TAG: latest
BUILD_CONTEXT: renovate/

View file

@ -1,4 +0,0 @@
FROM docker.io/docker:23-dind
ENTRYPOINT [ "/usr/local/bin/dockerd" ]
CMD [ "-H=tcp://127.0.0.1:2375" ]

4
renovate/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM docker.io/node:lts-alpine
RUN npm install -g renovate && \
curl -L https://go.dev/dl/go1.20.1.linux-amd64.tar.gz | tar -xvz -C /usr/local