Modify publish step
This commit is contained in:
parent
a46f5694f5
commit
71039eaf6b
@ -40,12 +40,12 @@ steps:
|
|||||||
event: pull_request
|
event: pull_request
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
publish:
|
publish-arm64:
|
||||||
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
image: woodpeckerci/plugin-docker-buildx:5.1.0
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
platforms: linux/arm64/v8,linux/amd64
|
platforms: linux/arm64/v8
|
||||||
repo: *repo
|
repo: *repo
|
||||||
registry: source.hodakov.me
|
registry: source.hodakov.me
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
@ -54,3 +54,20 @@ steps:
|
|||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
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