2
This commit is contained in:
parent
d099e8395c
commit
93ab03a18e
1 changed files with 44 additions and 32 deletions
|
@ -6,37 +6,49 @@ when:
|
||||||
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- settings: &settings
|
|
||||||
platform: [linux/amd64, linux/arm64]
|
|
||||||
auth:
|
|
||||||
"https://index.docker.io/v1/":
|
|
||||||
username: {from_secret: docker_io_username}
|
|
||||||
password: {from_secret: docker_io_password}
|
|
||||||
ghcr.io:
|
|
||||||
username: {from_secret: ghcr_io_username}
|
|
||||||
password: {from_secret: ghcr_io_password}
|
|
||||||
registry.kokuwa.io:
|
|
||||||
username: {from_secret: kokuwa_io_username}
|
|
||||||
password: {from_secret: kokuwa_io_password}
|
|
||||||
annotation: &annotation
|
|
||||||
org.opencontainers.image.title: Docker CLI for WoodpeckerCI
|
|
||||||
org.opencontainers.image.description: Docker CLI for usage in WoodpeckerCI.
|
|
||||||
org.opencontainers.image.url: $CI_REPO_URL
|
|
||||||
org.opencontainers.image.documentation: $CI_REPO_URL/README.md
|
|
||||||
org.opencontainers.image.source: $CI_REPO_CLONE_URL
|
|
||||||
org.opencontainers.image.revision: $CI_COMMIT_SHA
|
|
||||||
org.opencontainers.image.vendor: kokuwa.io
|
|
||||||
org.opencontainers.image.licenses: EUPL-1.2
|
|
||||||
org.opencontainers.image.ref.name: kokuwaio/docker-cli
|
|
||||||
org.opencontainers.image.version: 28.1.1
|
|
||||||
- step: &pr
|
- step: &pr
|
||||||
image: kokuwaio/buildctl
|
image: kokuwaio/buildctl
|
||||||
depends_on: []
|
depends_on: []
|
||||||
|
settings: &settings-pr
|
||||||
|
platform: [linux/amd64, linux/arm64]
|
||||||
|
auth:
|
||||||
|
"https://index.docker.io/v1/":
|
||||||
|
username: {from_secret: docker_io_username}
|
||||||
|
password: {from_secret: docker_io_password}
|
||||||
|
ghcr.io:
|
||||||
|
username: {from_secret: ghcr_io_username}
|
||||||
|
password: {from_secret: ghcr_io_password}
|
||||||
|
registry.kokuwa.io:
|
||||||
|
username: {from_secret: kokuwa_io_username}
|
||||||
|
password: {from_secret: kokuwa_io_password}
|
||||||
|
annotation: &annotation
|
||||||
|
org.opencontainers.image.title: Docker CLI for WoodpeckerCI
|
||||||
|
org.opencontainers.image.description: Docker CLI for usage in WoodpeckerCI.
|
||||||
|
org.opencontainers.image.url: $CI_REPO_URL
|
||||||
|
org.opencontainers.image.documentation: $CI_REPO_URL/README.md
|
||||||
|
org.opencontainers.image.source: $CI_REPO_CLONE_URL
|
||||||
|
org.opencontainers.image.revision: $CI_COMMIT_SHA
|
||||||
|
org.opencontainers.image.vendor: kokuwa.io
|
||||||
|
org.opencontainers.image.licenses: EUPL-1.2
|
||||||
|
org.opencontainers.image.ref.name: kokuwaio/docker-cli
|
||||||
|
org.opencontainers.image.version: 28.1.1
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
- step: &push
|
- step: &push
|
||||||
image: kokuwaio/buildctl
|
image: kokuwaio/buildctl
|
||||||
depends_on: []
|
depends_on: []
|
||||||
|
settings: &settings-push
|
||||||
|
<<: *settings-pr
|
||||||
|
auth:
|
||||||
|
"https://index.docker.io/v1/":
|
||||||
|
username: {from_secret: docker_io_username}
|
||||||
|
password: {from_secret: docker_io_password}
|
||||||
|
ghcr.io:
|
||||||
|
username: {from_secret: ghcr_io_username}
|
||||||
|
password: {from_secret: ghcr_io_password}
|
||||||
|
registry.kokuwa.io:
|
||||||
|
username: {from_secret: kokuwa_io_username}
|
||||||
|
password: {from_secret: kokuwa_io_password}
|
||||||
when:
|
when:
|
||||||
event: [manual, push]
|
event: [manual, push]
|
||||||
branch: main
|
branch: main
|
||||||
|
@ -46,7 +58,7 @@ steps:
|
||||||
dockerd-pr:
|
dockerd-pr:
|
||||||
<<: *pr
|
<<: *pr
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-pr
|
||||||
name: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}
|
name: registry.kokuwa.io/kokuwaio/dockerd:ci-${CI_PIPELINE_NUMBER}
|
||||||
target: dockerd
|
target: dockerd
|
||||||
annotation:
|
annotation:
|
||||||
|
@ -58,7 +70,7 @@ steps:
|
||||||
cli-pr:
|
cli-pr:
|
||||||
<<: *pr
|
<<: *pr
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-pr
|
||||||
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}
|
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}
|
||||||
target: cli
|
target: cli
|
||||||
|
|
||||||
|
@ -66,7 +78,7 @@ steps:
|
||||||
<<: *pr
|
<<: *pr
|
||||||
depends_on: [cli-pr]
|
depends_on: [cli-pr]
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-pr
|
||||||
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-git
|
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-git
|
||||||
target: cli-git
|
target: cli-git
|
||||||
|
|
||||||
|
@ -74,7 +86,7 @@ steps:
|
||||||
<<: *pr
|
<<: *pr
|
||||||
depends_on: [cli-pr]
|
depends_on: [cli-pr]
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-pr
|
||||||
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-az
|
name: registry.kokuwa.io/kokuwaio/docker-cli:ci-${CI_PIPELINE_NUMBER}-az
|
||||||
target: cli-az
|
target: cli-az
|
||||||
|
|
||||||
|
@ -89,7 +101,7 @@ steps:
|
||||||
dockerd:
|
dockerd:
|
||||||
<<: *push
|
<<: *push
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-push
|
||||||
name:
|
name:
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:latest
|
- registry.kokuwa.io/kokuwaio/dockerd:latest
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1
|
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1
|
||||||
|
@ -108,7 +120,7 @@ steps:
|
||||||
<<: *push
|
<<: *push
|
||||||
depends_on: [cli]
|
depends_on: [cli]
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-push
|
||||||
name:
|
name:
|
||||||
- registry.kokuwa.io/kokuwaio/docker-cli:latest
|
- registry.kokuwa.io/kokuwaio/docker-cli:latest
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1
|
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1
|
||||||
|
@ -121,7 +133,7 @@ steps:
|
||||||
cli-git:
|
cli-git:
|
||||||
<<: *push
|
<<: *push
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-push
|
||||||
name:
|
name:
|
||||||
- registry.kokuwa.io/kokuwaio/docker-cli:git
|
- registry.kokuwa.io/kokuwaio/docker-cli:git
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-git
|
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-git
|
||||||
|
@ -135,7 +147,7 @@ steps:
|
||||||
<<: *push
|
<<: *push
|
||||||
depends_on: [cli]
|
depends_on: [cli]
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-push
|
||||||
name:
|
name:
|
||||||
- registry.kokuwa.io/kokuwaio/docker-cli:az
|
- registry.kokuwa.io/kokuwaio/docker-cli:az
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-az
|
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-az
|
||||||
|
@ -149,7 +161,7 @@ steps:
|
||||||
<<: *push
|
<<: *push
|
||||||
depends_on: [cli-az]
|
depends_on: [cli-az]
|
||||||
settings:
|
settings:
|
||||||
<<: *settings
|
<<: *settings-push
|
||||||
name:
|
name:
|
||||||
- registry.kokuwa.io/kokuwaio/docker-cli:az-git
|
- registry.kokuwa.io/kokuwaio/docker-cli:az-git
|
||||||
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-az-git
|
- registry.kokuwa.io/kokuwaio/dockerd:28.1.1-az-git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue