diff --git a/.drone.yml b/.drone.yml index 1ce39d0..eb2e3a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,4 +48,19 @@ steps: from_secret: gitea_token IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/caddy IMAGE_TAG: latest - BUILD_CONTEXT: caddy/ \ No newline at end of file + 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/ \ No newline at end of file diff --git a/dind/Dockerfile b/dind/Dockerfile deleted file mode 100644 index a87852b..0000000 --- a/dind/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM docker.io/docker:23-dind - -ENTRYPOINT [ "/usr/local/bin/dockerd" ] -CMD [ "-H=tcp://127.0.0.1:2375" ] \ No newline at end of file diff --git a/renovate/Dockerfile b/renovate/Dockerfile new file mode 100644 index 0000000..637f16f --- /dev/null +++ b/renovate/Dockerfile @@ -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 \ No newline at end of file