This commit is contained in:
parent
47662e9786
commit
b77ff7c1c1
3 changed files with 20 additions and 5 deletions
15
.drone.yml
15
.drone.yml
|
@ -49,3 +49,18 @@ steps:
|
||||||
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/caddy
|
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/caddy
|
||||||
IMAGE_TAG: latest
|
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/
|
|
@ -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
4
renovate/Dockerfile
Normal 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
|
Loading…
Reference in a new issue