Initial plugin source.
This commit is contained in:
parent
a0d4b1b977
commit
d2236a555c
15 changed files with 666 additions and 0 deletions
33
.woodpecker/build.yaml
Normal file
33
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
when:
|
||||
event: [manual, push, pull_request]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, .woodpecker/push.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||
|
||||
matrix:
|
||||
PLATFORM: [amd64, arm64]
|
||||
labels:
|
||||
platform: linux/${PLATFORM}
|
||||
|
||||
steps:
|
||||
|
||||
build:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
commands: /kaniko/executor
|
||||
--context=$CI_WORKSPACE
|
||||
--destination=ci-registry.schnabel.org/kokuwaio/dockerhub-metadata:$CI_PIPELINE_NUMBER-$PLATFORM
|
||||
--reproducible
|
||||
--cache
|
||||
--cache-copy-layers
|
||||
--cache-run-layers
|
||||
--cache-repo=$DOCKER_CACHE/cache/kokuwaio/dockerhub-metadata
|
||||
--insecure-registry=$DOCKER_CACHE
|
||||
--insecure-registry=$DOCKER_MIRROR
|
||||
--registry-mirror=$DOCKER_MIRROR
|
||||
--skip-default-registry-fallback
|
||||
--label=org.opencontainers.image.title="Dockerhub Metadata Plugin"
|
||||
--label=org.opencontainers.image.description="A Woodpecker CI plugin to write metadata to DockerHub repositories."
|
||||
--label=org.opencontainers.image.url=$CI_REPO_URL
|
||||
--label=org.opencontainers.image.documentation=$CI_REPO_URL
|
||||
--label=org.opencontainers.image.source=$CI_REPO_CLONE_URL
|
||||
--label=org.opencontainers.image.vendor=kokuwa.io
|
||||
--label=org.opencontainers.image.licenses=GPL-3.0-or-later
|
Loading…
Add table
Add a link
Reference in a new issue