2022-01-19 23:06:46 +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:
|
|
|
|
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:
|
2022-01-23 10:53:58 +01:00
|
|
|
dockerfile: Dockerfile.ci
|
2022-01-13 13:51:02 +01:00
|
|
|
repo: chewingbever/vieter
|
|
|
|
tag: dev
|
2022-01-15 15:49:19 +01:00
|
|
|
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
2022-01-23 10:53:58 +01:00
|
|
|
args:
|
|
|
|
- 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
|
|
|
|
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
|
2022-01-23 10:56:22 +01:00
|
|
|
- build
|