1
This commit is contained in:
parent
08089a16e7
commit
cae3115061
4 changed files with 9 additions and 8 deletions
|
@ -12,7 +12,7 @@ steps:
|
|||
pull: true
|
||||
depends_on: []
|
||||
settings: &settings
|
||||
name: registry.kokuwa.io/buildctl:$CI_PIPELINE_NUMBER
|
||||
name: registry.kokuwa.io/kokuwaio/buildctl:ci-${CI_PIPELINE_NUMBER}
|
||||
auth:
|
||||
registry.kokuwa.io:
|
||||
username: {from_secret: kokuwa_io_username}
|
||||
|
|
|
@ -15,14 +15,14 @@ labels:
|
|||
steps:
|
||||
|
||||
pr:
|
||||
image: registry.kokuwa.io/buildctl:$CI_PIPELINE_NUMBER
|
||||
image: registry.kokuwa.io/kokuwaio/buildctl:ci-${CI_PIPELINE_NUMBER}
|
||||
pull: true
|
||||
commands: buildctl --version
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
kokuwa.io: &version
|
||||
image: kokuwa.io/buildctl
|
||||
image: registry.kokuwa.io/kokuwaio/buildctl:latest
|
||||
pull: true
|
||||
commands: buildctl --version
|
||||
when:
|
||||
|
@ -30,9 +30,9 @@ steps:
|
|||
branch: main
|
||||
|
||||
docker.io:
|
||||
image: docker.io/kokuwaio/buildctl
|
||||
image: docker.io/kokuwaio/buildctl:latest
|
||||
<<: *version
|
||||
|
||||
ghcr.io:
|
||||
image: ghcr.io/kokuwaio/buildctl
|
||||
image: ghcr.io/kokuwaio/buildctl:latest
|
||||
<<: *version
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# bash is non-default location https://github.com/tianon/docker-bash/issues/29
|
||||
# hadolint only uses default locations https://github.com/hadolint/hadolint/issues/977
|
||||
# hadolint global ignore=DL4006
|
||||
|
||||
FROM docker.io/library/bash:5.2.37@sha256:01a15c6f48f6a3c08431cd77e11567823530b18159889dca3b7309b707beef91
|
||||
SHELL ["/usr/local/bin/bash", "-u", "-e", "-o", "pipefail", "-c"]
|
||||
|
||||
|
|
|
@ -10,15 +10,15 @@
|
|||
"- docker.io/kokuwaio/buildctl:(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)",
|
||||
"- ghcr.io/kokuwaio/buildctl:(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)",
|
||||
"org.opencontainers.image.version: (?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)",
|
||||
"https://github.com/moby/buildkit/releases/download/(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)/buildkit-v[0-9]+\\.[0-9]+\\.[0-9]+.linux-$SUFFIX.tar.gz",
|
||||
"https://github.com/moby/buildkit/releases/download/v[0-9]+\\.[0-9]+\\.[0-9]+/buildkit-(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+).linux-$SUFFIX.tar.gz"
|
||||
"github.com/moby/buildkit/releases/download/(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)/buildkit-v[0-9]+\\.[0-9]+\\.[0-9]+.linux-\\$SUFFIX.tar.gz",
|
||||
"github.com/moby/buildkit/releases/download/v[0-9]+\\.[0-9]+\\.[0-9]+/buildkit-(?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+).linux-\\$SUFFIX.tar.gz"
|
||||
],
|
||||
"datasourceTemplate": "github-tags",
|
||||
"packageNameTemplate": "moby/buildkit"
|
||||
},{
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["Dockerfile"],
|
||||
"matchStrings": ["https://github.com/jqlang/jq/releases/download/(?<currentValue>jq-[0-9]+\\.[0-9]+\\.[0-9]+)/jq-linux-$SUFFIX"],
|
||||
"matchStrings": ["github.com/jqlang/jq/releases/download/(?<currentValue>jq-[0-9]+\\.[0-9]+\\.[0-9]+)/jq-linux-\\$SUFFIX"],
|
||||
"datasourceTemplate": "github-tags",
|
||||
"packageNameTemplate": "jqlang/jq"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue