31 lines
537 B
YAML
31 lines
537 B
YAML
pipeline:
|
|
dev:
|
|
image: plugins/docker
|
|
secrets: [ docker_username, docker_password ]
|
|
settings:
|
|
repo: chewingbever/vieter
|
|
tag: dev
|
|
when:
|
|
event: push
|
|
branch: dev
|
|
|
|
release:
|
|
image: plugins/docker
|
|
secrets: [ docker_username, docker_password ]
|
|
settings:
|
|
repo: chewingbever/vieter
|
|
tag:
|
|
- latest
|
|
- $CI_COMMIT_TAG
|
|
build_args: --network=host
|
|
mtu: 1000
|
|
when:
|
|
event: tag
|
|
branch: main
|
|
|
|
branches: [main, dev]
|
|
|
|
depends_on:
|
|
- lint
|
|
- build
|