docker-ubuntumirror/.drone.yml

26 lines
447 B
YAML
Raw Normal View History

2020-02-08 05:01:23 +00:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
2020-02-15 18:33:53 +00:00
network_mode: bridge
2020-02-08 05:01:23 +00:00
settings:
repo: sneak/ubuntumirror
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
2020-02-15 19:08:40 +00:00
- ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
2020-02-08 05:01:23 +00:00
- ${DRONE_COMMIT_SHA}
2020-02-15 17:39:38 +00:00
- ${DRONE_BRANCH/\//-}
2020-02-15 19:08:40 +00:00
- latest
2020-02-08 05:01:23 +00:00
2020-02-15 19:02:56 +00:00
# rebuild weekly and push
trigger:
event:
- cron
cron:
- weekly