Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ff41430

Browse files
committed
Added autocert #4186
1 parent d446a34 commit ff41430

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,17 @@
269269
"datasourceTemplate": "github-releases",
270270
"extractVersionTemplate": "^v(?<version>.+?)$"
271271
},
272+
{
273+
"fileMatch": [
274+
"^tools/autocert/manifest.yaml$"
275+
],
276+
"matchStrings": [
277+
"version: \"?(?<currentValue>.*?)\"?\\n"
278+
],
279+
"depNameTemplate": "smallstep/autocert",
280+
"datasourceTemplate": "github-releases",
281+
"extractVersionTemplate": "^v(?<version>.+?)$"
282+
},
272283
{
273284
"fileMatch": [
274285
"^tools/bat/manifest.yaml$"

tools/autocert/Dockerfile.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/smallstep/autocert/releases/download/v${version}/autocert_${version}_linux_${alt_arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --strip-components=2 --no-same-owner \
11+
"autocert_${version}/bin/autocert"
12+
EOF

tools/autocert/manifest.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: autocert
2+
version: "0.16.0"
3+
check: ""
4+
tags:
5+
- category/security
6+
- certificate
7+
- type/cli
8+
- lang/go
9+
homepage: https://github.com/smallstep/autocert
10+
description: ⚓ A kubernetes add-on that automatically injects TLS/HTTPS certificates into your containers
11+
renovate:
12+
datasource: github-releases
13+
package: smallstep/autocert
14+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)