work/.drone.yml

20 lines
421 B
YAML
Raw Permalink Normal View History

2020-04-11 17:53:41 +00:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: sneak/work
2020-04-11 18:55:50 +00:00
#dry_run: true
build_args:
- UBUNTU_MIRROR=http://de.archive.ubuntu.com/ubuntu
2020-04-11 18:55:50 +00:00
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/\//-}