Skip to content

Commit 60ca290

Browse files
authored
fix(renovate): container images (#606)
1 parent 4a1d96f commit 60ca290

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/renovate.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
"customManagers": [
77
{
88
"customType": "regex",
9+
"description": "Manage container images used in urfave command default values",
910
"managerFilePatterns": [
1011
"/\\.go$/"
1112
],
1213
"matchStrings": [
13-
"Value:\\s+\"(?<depName>[^\"]+):(?<currentValue>[^\"]+)@sha256:[a-f0-9]{64}\""
14+
"Value:\\s+\"(?<depName>[^:\"]+):(?<currentValue>[^@\"]+)(@(?<currentDigest>sha256:[a-f0-9]+))?\""
1415
],
15-
"datasourceTemplate": "docker",
16-
"depNameTemplate": "{{depName}}",
17-
"versioningTemplate": "docker",
18-
"extractVersionTemplate": "{{currentValue}}"
16+
"datasourceTemplate": "docker"
1917
}
2018
]
2119
}

command/pipeline/exec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@ var CommandExec = &cli.Command{
179179
Sources: cli.EnvVars("VELA_CLONE_IMAGE", "COMPILER_CLONE_IMAGE"),
180180
Name: "clone-image",
181181
Usage: "the clone image to use for the injected clone step",
182-
Value: "target/vela-git:v0.8.0@sha256:02de004ae9dbf184c70039cb9ce431c31d6e7580eb9e6ec64a97ebf108aa65cb",
182+
Value: "docker.io/target/vela-git-slim:v0.12.0@sha256:533786ab3ef17c900b0105fdffbd7143d2601803f28b39e156132ad25819af0f",
183183
},
184184
&cli.StringFlag{
185185
Sources: cli.EnvVars("VELA_OUTPUTS_IMAGE", "EXECUTOR_OUTPUTS_IMAGE"),
186186
Name: "outputs-image",
187187
Usage: "the outputs image to use for the build",
188-
Value: "library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c",
188+
Value: "docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c",
189189
},
190190

191191
// Environment Flags

command/pipeline/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ var CommandValidate = &cli.Command{
178178
Sources: cli.EnvVars("VELA_CLONE_IMAGE", "COMPILER_CLONE_IMAGE"),
179179
Name: "clone-image",
180180
Usage: "the clone image to use for the injected clone step",
181-
Value: "target/vela-git:v0.8.0@sha256:02de004ae9dbf184c70039cb9ce431c31d6e7580eb9e6ec64a97ebf108aa65cb",
181+
Value: "docker.io/target/vela-git-slim:v0.12.0@sha256:533786ab3ef17c900b0105fdffbd7143d2601803f28b39e156132ad25819af0f",
182182
Category: "4. Compiler:",
183183
},
184184
},

0 commit comments

Comments
 (0)