forked from vieter-v/vieter
35 lines
743 B
YAML
35 lines
743 B
YAML
branches: [main, dev]
|
|
platform: 'linux/amd64'
|
|
depends_on:
|
|
- build
|
|
|
|
pipeline:
|
|
dev:
|
|
image: 'woodpeckerci/plugin-docker-buildx'
|
|
secrets:
|
|
- 'docker_username'
|
|
- 'docker_password'
|
|
settings:
|
|
repo: 'chewingbever/vieter'
|
|
tag: 'dev'
|
|
platforms: [ 'linux/arm64/v8', 'linux/amd64' ]
|
|
build_args_from_env:
|
|
- 'CI_COMMIT_SHA'
|
|
when:
|
|
event: push
|
|
branch: dev
|
|
|
|
release:
|
|
image: 'woodpeckerci/plugin-docker-buildx'
|
|
secrets:
|
|
- 'docker_username'
|
|
- 'docker_password'
|
|
settings:
|
|
repo: 'chewingbever/vieter'
|
|
auto_tag: true
|
|
platforms: [ 'linux/arm64/v8', 'linux/amd64' ]
|
|
build_args_from_env:
|
|
- 'CI_COMMIT_SHA'
|
|
when:
|
|
event: tag
|