work/.drone.yml

20 lines
417 B
YAML
Raw Normal View History

2020-04-11 17:53:41 +00:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
build_args:
- UBUNTU_MIRROR=http://de.archive.ubuntu.com/ubuntu
settings:
repo: sneak/work
2020-04-11 18:55:50 +00:00
#dry_run: true
username:
from_secret: docker_username
password:
from_secret: docker_password
2020-04-11 17:53:41 +00:00
tags:
2020-04-11 18:55:50 +00:00
- ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
2020-04-11 17:53:41 +00:00
- ${DRONE_COMMIT_SHA}
2020-04-11 18:55:50 +00:00
- ${DRONE_BRANCH/\//-}