Initial commit
This commit is contained in:
35
.woodpecker/docker.yaml
Normal file
35
.woodpecker/docker.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
when:
|
||||
branch: main
|
||||
event: [push, pull_request, tag]
|
||||
|
||||
variables:
|
||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/renkit
|
||||
|
||||
steps:
|
||||
dryrun:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8,linux/amd64
|
||||
repo: *repo
|
||||
registry: source.hodakov.me
|
||||
auto_tag: true
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: registry_token
|
||||
when:
|
||||
event: [push, tag]
|
Reference in New Issue
Block a user