Let's peek inside...
This commit is contained in:
@@ -8,31 +8,7 @@ variables:
|
|||||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
|
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
dryrun:
|
test:
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
image: alpine
|
||||||
privileged: true
|
commands:
|
||||||
settings:
|
- env
|
||||||
dockerfile: *file
|
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
|
||||||
dry_run: true
|
|
||||||
repo: *repo
|
|
||||||
tags: latest
|
|
||||||
when:
|
|
||||||
event: pull_request
|
|
||||||
path: *file
|
|
||||||
|
|
||||||
publish:
|
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
dockerfile: *file
|
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
|
||||||
repo: *repo
|
|
||||||
registry: source.hodakov.me
|
|
||||||
tags: latest
|
|
||||||
username: ${CI_REPO_OWNER}
|
|
||||||
password:
|
|
||||||
from_secret: registry_token
|
|
||||||
when:
|
|
||||||
event: push
|
|
||||||
path: *file
|
|
||||||
|
|||||||
Reference in New Issue
Block a user