Initial draft of plugin.
All checks were successful
All checks were successful
This commit is contained in:
parent
86c019716e
commit
236588001b
16 changed files with 804 additions and 0 deletions
56
.woodpecker/build.yaml
Normal file
56
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,56 @@
|
|||
when:
|
||||
instance: ci.kokuwa.io
|
||||
repo: woodpecker/buildctl
|
||||
event: [manual, push, pull_request]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||
|
||||
steps:
|
||||
|
||||
build:
|
||||
image: kokuwaio/buildctl
|
||||
settings: &settings
|
||||
name: registry.kokuwa.io/kokuwaio/buildctl:ci-${CI_PIPELINE_NUMBER}
|
||||
auth:
|
||||
registry.kokuwa.io:
|
||||
username: {from_secret: kokuwa_io_username}
|
||||
password: {from_secret: kokuwa_io_password}
|
||||
platform: [linux/amd64, linux/arm64]
|
||||
annotation:
|
||||
org.opencontainers.image.title: Buildctl WoodpeckerCI Plugin
|
||||
org.opencontainers.image.description: A WoodpeckerCI plugin for buildctl to build container images using a remote builtkitd instance.
|
||||
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/buildctl
|
||||
org.opencontainers.image.version: v0.23.1
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
push:
|
||||
image: kokuwaio/buildctl
|
||||
settings:
|
||||
<<: *settings
|
||||
name:
|
||||
- registry.kokuwa.io/kokuwaio/buildctl:latest
|
||||
- registry.kokuwa.io/kokuwaio/buildctl:v0.23.1
|
||||
- docker.io/kokuwaio/buildctl:latest
|
||||
- docker.io/kokuwaio/buildctl:v0.23.1
|
||||
- ghcr.io/kokuwaio/buildctl:latest
|
||||
- ghcr.io/kokuwaio/buildctl:v0.23.1
|
||||
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:
|
||||
event: [manual, push]
|
||||
branch: main
|
Loading…
Add table
Add a link
Reference in a new issue