ci: Introduce more changes
This commit is contained in:
parent
dbb89ba96d
commit
2944bd03a9
1 changed files with 13 additions and 0 deletions
13
.drone.yml
13
.drone.yml
|
@ -10,21 +10,29 @@ steps:
|
|||
- name: publish:commit_sha
|
||||
image: plugins/docker
|
||||
pull: never
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /stupid
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: glenux/service-ntfy
|
||||
repo: glenux/service-ntfy
|
||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||
|
||||
- name: publish:commit_branch
|
||||
image: plugins/docker
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /stupid
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: glenux/service-ntfy
|
||||
repo: glenux/service-ntfy
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
when:
|
||||
|
@ -43,4 +51,9 @@ steps:
|
|||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
#
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue