Get use of label
This commit is contained in:
parent
a3fd96235c
commit
04af9fc0dd
@ -14,38 +14,24 @@ variables:
|
||||
- &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
|
||||
|
||||
steps:
|
||||
test-build-arm64:
|
||||
test-build:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8
|
||||
platforms: ${platform}
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
when:
|
||||
event: pull_request
|
||||
platform: linux/arm64
|
||||
|
||||
test-build-amd64:
|
||||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
auto_tag: true
|
||||
when:
|
||||
event: pull_request
|
||||
platform: linux/amd64
|
||||
|
||||
publish-arm64:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm64/v8
|
||||
platforms: ${platform}
|
||||
repo: *repo
|
||||
registry: source.hodakov.me
|
||||
auto_tag: true
|
||||
@ -54,20 +40,3 @@ steps:
|
||||
from_secret: registry_token
|
||||
when:
|
||||
event: [push, tag]
|
||||
platform: linux/arm64
|
||||
|
||||
publish-amd64:
|
||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||
privileged: true
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64
|
||||
repo: *repo
|
||||
registry: source.hodakov.me
|
||||
auto_tag: true
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: registry_token
|
||||
when:
|
||||
event: [push, tag]
|
||||
platform: linux/amd64
|
||||
|
Loading…
Reference in New Issue
Block a user