mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Fix docker preview images (#2683)
This commit is contained in:
parent
5742e8695c
commit
fffddb0bc3
@ -103,48 +103,47 @@ steps:
|
||||
|
||||
publish-server-preview:
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
group: docker
|
||||
settings:
|
||||
repo: woodpeckerci/woodpecker-server
|
||||
dockerfile: docker/Dockerfile.server.multiarch
|
||||
platforms: *platforms_preview
|
||||
tag: pull_${CI_COMMIT_PULL_REQUEST}
|
||||
logins: *publish_logins
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||
event: pull_request
|
||||
|
||||
publish-server-alpine-preview:
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
group: docker
|
||||
settings:
|
||||
repo: woodpeckerci/woodpecker-server
|
||||
dockerfile: docker/Dockerfile.server.alpine.multiarch
|
||||
platforms: *platforms_preview
|
||||
tag: pull_${CI_COMMIT_PULL_REQUEST}-alpine
|
||||
logins: *publish_logins
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||
event: pull_request
|
||||
|
||||
publish-server-preview-dry:
|
||||
build-server:
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
group: docker
|
||||
settings:
|
||||
dry_run: true
|
||||
repo: woodpeckerci/woodpecker-server
|
||||
dockerfile: docker/Dockerfile.server.multiarch
|
||||
platforms: *platforms_preview
|
||||
logins: *publish_logins
|
||||
tag: pull_${CI_COMMIT_PULL_REQUEST}
|
||||
when:
|
||||
evaluate: 'not (CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images")'
|
||||
event: pull_request
|
||||
path: *when_path
|
||||
|
||||
publish-server-alpine-preview-dry:
|
||||
build-server-alpine:
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
group: docker
|
||||
settings:
|
||||
dry_run: true
|
||||
@ -264,21 +263,20 @@ steps:
|
||||
publish-agent-preview:
|
||||
group: docker
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
settings:
|
||||
repo: woodpeckerci/woodpecker-agent
|
||||
dockerfile: docker/Dockerfile.agent.multiarch
|
||||
platforms: *platforms_preview
|
||||
tag: pull_${CI_COMMIT_PULL_REQUEST}
|
||||
build_args: *build_args
|
||||
logins: *publish_logins
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||
event: pull_request
|
||||
|
||||
publish-agent-preview-dry:
|
||||
build-agent:
|
||||
group: docker
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
settings:
|
||||
dry_run: true
|
||||
repo: woodpeckerci/woodpecker-agent
|
||||
@ -386,21 +384,20 @@ steps:
|
||||
publish-cli-preview:
|
||||
group: docker
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
settings:
|
||||
repo: woodpeckerci/woodpecker-cli
|
||||
dockerfile: docker/Dockerfile.cli.multiarch
|
||||
platforms: *platforms_preview
|
||||
tag: pull_${CI_COMMIT_PULL_REQUEST}
|
||||
build_args: *build_args
|
||||
logins: *publish_logins
|
||||
when:
|
||||
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||
event: pull_request
|
||||
|
||||
publish-cli-preview-dry:
|
||||
build-cli:
|
||||
group: docker
|
||||
image: woodpeckerci/plugin-docker-buildx:2.2.0
|
||||
secrets: [docker_password]
|
||||
settings:
|
||||
dry_run: true
|
||||
repo: woodpeckerci/woodpecker-cli
|
||||
|
Loading…
Reference in New Issue
Block a user