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
|
- name: publish:commit_sha
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
# pull: never
|
# pull: never
|
||||||
volumes:
|
# volumes:
|
||||||
- name: cache
|
# - name: cache
|
||||||
path: /stupid
|
# path: /stupid
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
# cache_from: glenux/service-ntfy
|
cache_from: glenux/service-ntfy
|
||||||
repo: glenux/service-ntfy
|
repo: glenux/service-ntfy
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
|
||||||
- name: publish:commit_branch
|
- name: publish:commit_branch
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
volumes:
|
# volumes:
|
||||||
- name: cache
|
# - name: cache
|
||||||
path: /stupid
|
# path: /stupid
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
# cache_from: glenux/service-ntfy
|
cache_from: glenux/service-ntfy
|
||||||
repo: glenux/service-ntfy
|
repo: glenux/service-ntfy
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
when:
|
when:
|
||||||
|
@ -52,8 +52,7 @@ steps:
|
||||||
# branch:
|
# branch:
|
||||||
# - master
|
# - master
|
||||||
|
|
||||||
volumes:
|
# volumes:
|
||||||
- name: cache
|
# - name: cache
|
||||||
temp: {}
|
# temp: {}
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue