This commit is contained in:
parent
de118433b3
commit
a58b5470e8
1 changed files with 11 additions and 12 deletions
23
.drone.yml
23
.drone.yml
|
@ -10,29 +10,29 @@ steps:
|
|||
- name: publish:commit_sha
|
||||
image: plugins/docker
|
||||
# pull: never
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /stupid
|
||||
# volumes:
|
||||
# - name: cache
|
||||
# path: /stupid
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
# cache_from: glenux/service-ntfy
|
||||
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
|
||||
# volumes:
|
||||
# - name: cache
|
||||
# path: /stupid
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
# cache_from: glenux/service-ntfy
|
||||
cache_from: glenux/service-ntfy
|
||||
repo: glenux/service-ntfy
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
when:
|
||||
|
@ -52,8 +52,7 @@ steps:
|
|||
# branch:
|
||||
# - master
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
# volumes:
|
||||
# - name: cache
|
||||
# temp: {}
|
||||
#
|
||||
|
||||
|
|
Loading…
Reference in a new issue