forked from Mirrors/doipjs
40 lines
No EOL
901 B
YAML
40 lines
No EOL
901 B
YAML
pipeline:
|
|
build-dev-container:
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: docker/proxy/Dockerfile
|
|
repo: keyoxide/doip-proxy
|
|
tags: dev
|
|
when:
|
|
event: push
|
|
build-stable-container:
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: docker/proxy/Dockerfile
|
|
repo: keyoxide/doip-proxy
|
|
tags: stable
|
|
when:
|
|
event: tag
|
|
build-tag-container:
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: docker/proxy/Dockerfile
|
|
repo: keyoxide/doip-proxy
|
|
auto_tag: true
|
|
when:
|
|
event: tag
|
|
|
|
depends_on:
|
|
- test |