2022-01-19 23:06:46 +01:00
|
|
|
branches: [main, dev]
|
2022-01-14 19:59:30 +01:00
|
|
|
platform: linux/amd64
|
2022-01-30 21:07:37 +01:00
|
|
|
depends_on:
|
|
|
|
- builder
|
|
|
|
- build
|
2022-01-13 15:29:43 +01:00
|
|
|
|
2022-01-13 13:51:02 +01:00
|
|
|
pipeline:
|
|
|
|
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
|
2022-01-27 22:14:08 +01:00
|
|
|
dockerfile: Dockerfile.ci
|
2022-01-13 13:51:02 +01:00
|
|
|
tag: dev
|
2022-01-15 15:49:19 +01:00
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
2022-01-23 18:43:52 +01:00
|
|
|
build_args_from_env:
|
2022-01-23 13:58:29 +01:00
|
|
|
- CI_COMMIT_SHA
|
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
|
2022-01-27 22:14:08 +01:00
|
|
|
dockerfile: Dockerfile.ci
|
2022-01-13 13:51:02 +01:00
|
|
|
tag:
|
|
|
|
- latest
|
2022-01-27 22:14:08 +01:00
|
|
|
- ${CI_COMMIT_TAG}
|
2022-01-15 15:49:19 +01:00
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
2022-01-27 22:14:08 +01:00
|
|
|
build_args_from_env:
|
|
|
|
- CI_COMMIT_SHA
|
2022-01-13 13:51:02 +01:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
branch: main
|