2022-01-19 23:06:46 +01:00
|
|
|
branches: [main, dev]
|
2022-05-05 09:35:19 +02:00
|
|
|
platform: 'linux/amd64'
|
2022-01-30 21:07:37 +01:00
|
|
|
depends_on:
|
|
|
|
- build
|
2022-01-13 15:29:43 +01:00
|
|
|
|
2022-01-13 13:51:02 +01:00
|
|
|
pipeline:
|
|
|
|
dev:
|
2022-05-05 09:35:19 +02:00
|
|
|
image: 'woodpeckerci/plugin-docker-buildx'
|
|
|
|
secrets:
|
|
|
|
- 'docker_username'
|
|
|
|
- 'docker_password'
|
2022-01-13 13:51:02 +01:00
|
|
|
settings:
|
2022-05-05 09:35:19 +02:00
|
|
|
repo: 'chewingbever/vieter'
|
2022-05-09 15:16:30 +02:00
|
|
|
tags:
|
|
|
|
- 'dev'
|
|
|
|
- ${CI_COMMIT_SHA}
|
2022-05-05 09:35:19 +02:00
|
|
|
platforms: [ 'linux/arm64/v8', 'linux/amd64' ]
|
2022-01-23 18:43:52 +01:00
|
|
|
build_args_from_env:
|
2022-05-05 09:35:19 +02: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-05-05 09:35:19 +02:00
|
|
|
image: 'woodpeckerci/plugin-docker-buildx'
|
|
|
|
secrets:
|
|
|
|
- 'docker_username'
|
|
|
|
- 'docker_password'
|
2022-01-13 13:51:02 +01:00
|
|
|
settings:
|
2022-05-05 09:35:19 +02:00
|
|
|
repo: 'chewingbever/vieter'
|
2022-01-31 23:39:04 +01:00
|
|
|
auto_tag: true
|
2022-05-05 09:35:19 +02:00
|
|
|
platforms: [ 'linux/arm64/v8', 'linux/amd64' ]
|
2022-01-27 22:14:08 +01:00
|
|
|
build_args_from_env:
|
2022-05-05 09:35:19 +02:00
|
|
|
- 'CI_COMMIT_SHA'
|
2022-01-13 13:51:02 +01:00
|
|
|
when:
|
|
|
|
event: tag
|