2020-03-22 08:46:01 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
2020-03-22 10:57:42 +00:00
|
|
|
network_mode: bridge
|
2020-03-22 08:46:01 +00:00
|
|
|
settings:
|
|
|
|
repo: sneak/adchpp
|
|
|
|
build_args:
|
2020-03-22 10:57:42 +00:00
|
|
|
- UBUNTU_MIRROR=http://ubuntu.datavi.be/ubuntu
|
2020-03-22 08:46:01 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
|
|
|
|
- ${DRONE_COMMIT_SHA}
|
|
|
|
- ${DRONE_BRANCH/\//-}
|