2022-01-18 21:41:09 +01:00
|
|
|
# branches: [main, dev]
|
2022-01-14 19:59:30 +01:00
|
|
|
platform: linux/amd64
|
2022-01-13 15:29:43 +01:00
|
|
|
|
2022-01-13 13:51:02 +01:00
|
|
|
pipeline:
|
2022-01-18 21:41:09 +01:00
|
|
|
dryrun:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
settings:
|
|
|
|
repo: chewingbever/vieter
|
|
|
|
tag: dev
|
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
|
|
|
dry_run: true
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
branch: dev
|
|
|
|
|
2022-01-13 13:51:02 +01:00
|
|
|
dev:
|
2022-01-15 10:31:11 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2022-01-13 13:51:02 +01:00
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
settings:
|
|
|
|
repo: chewingbever/vieter
|
|
|
|
tag: dev
|
2022-01-15 15:49:19 +01:00
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
2022-01-13 13:51:02 +01:00
|
|
|
when:
|
|
|
|
event: push
|
2022-01-15 11:35:29 +01:00
|
|
|
branch: dev
|
2022-01-13 13:51:02 +01:00
|
|
|
|
|
|
|
release:
|
2022-01-15 11:35:29 +01:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2022-01-13 13:51:02 +01:00
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
settings:
|
|
|
|
repo: chewingbever/vieter
|
|
|
|
tag:
|
|
|
|
- latest
|
|
|
|
- $CI_COMMIT_TAG
|
2022-01-15 15:49:19 +01:00
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
2022-01-13 13:51:02 +01:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
branch: main
|
2022-01-14 20:38:36 +01:00
|
|
|
|
2022-01-15 11:35:29 +01:00
|
|
|
depends_on:
|
|
|
|
- builder
|