fix(renovate): add missing mod tool
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
01e3d69332
commit
0bd1b2b90c
4 changed files with 6 additions and 96 deletions
|
@ -1,64 +0,0 @@
|
|||
---
|
||||
resources:
|
||||
- name: ci-images.git
|
||||
type: git
|
||||
icon: github
|
||||
source:
|
||||
uri: https://code.icb4dc0.de/prskr/ci-images.git
|
||||
|
||||
- name: caddy-release
|
||||
type: github-release
|
||||
icon: github
|
||||
source:
|
||||
owner: caddyserver
|
||||
repository: caddy
|
||||
access_token: ((github-credentials.token))
|
||||
|
||||
- name: ko-release
|
||||
type: github-release
|
||||
icon: github
|
||||
source:
|
||||
owner: ko-build
|
||||
repository: ko
|
||||
access_token: ((github-credentials.token))
|
||||
|
||||
jobs:
|
||||
- name: caddy
|
||||
plan:
|
||||
- get: ci-images.git
|
||||
trigger: true
|
||||
- get: caddy-release
|
||||
trigger: true
|
||||
- task: caddy
|
||||
file: ci-images.git/.concourse/tasks/image-build.yml
|
||||
input_mapping:
|
||||
repo: ci-images.git
|
||||
vars:
|
||||
build_context: caddy/
|
||||
image_repo: code.icb4dc0.de/prskr/ci-images/caddy
|
||||
|
||||
- name: ko
|
||||
plan:
|
||||
- get: ci-images.git
|
||||
trigger: true
|
||||
- get: ko-release
|
||||
trigger: true
|
||||
- task: ko
|
||||
file: ci-images.git/.concourse/tasks/image-build.yml
|
||||
input_mapping:
|
||||
repo: ci-images.git
|
||||
vars:
|
||||
build_context: ko/
|
||||
image_repo: code.icb4dc0.de/prskr/ci-images/ko
|
||||
|
||||
- name: dind-go
|
||||
plan:
|
||||
- get: ci-images.git
|
||||
trigger: true
|
||||
- task: dind-go
|
||||
file: ci-images.git/.concourse/tasks/image-build.yml
|
||||
input_mapping:
|
||||
repo: ci-images.git
|
||||
vars:
|
||||
build_context: dind-go/
|
||||
image_repo: code.icb4dc0.de/prskr/ci-images/dind-go
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
platform: linux
|
||||
|
||||
image_resource:
|
||||
type: registry-image
|
||||
source:
|
||||
repository: gcr.io/kaniko-project/executor
|
||||
tag: debug
|
||||
|
||||
inputs:
|
||||
- name: repo
|
||||
path: .
|
||||
|
||||
params:
|
||||
GITEA_USER: ((gitea-credentials.user))
|
||||
GITEA_TOKEN: ((gitea-credentials.token))
|
||||
BUILD_CONTEXT: ((build_context))
|
||||
IMAGE_REPO: ((image_repo))
|
||||
IMAGE_TAG: latest
|
||||
|
||||
run:
|
||||
path: sh
|
||||
args:
|
||||
- -cex
|
||||
- |
|
||||
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}"
|
|
@ -1,4 +0,0 @@
|
|||
deb https://mirror.hetzner.com/debian/packages bullseye main contrib non-free
|
||||
deb https://mirror.hetzner.com/debian/packages bullseye-updates main contrib non-free
|
||||
deb https://mirror.hetzner.com/debian/security bullseye-security main contrib non-free
|
||||
deb https://mirror.hetzner.com/debian/packages bullseye-backports main contrib non-free
|
|
@ -1,5 +1,11 @@
|
|||
FROM docker.io/golang:1-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
|
Loading…
Reference in a new issue