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