work/.drone.yml

20 lines
421 B
YAML

kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: sneak/work
#dry_run: true
build_args:
- UBUNTU_MIRROR=http://de.archive.ubuntu.com/ubuntu
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH/\//-}