This commit is contained in:
parent
18ec6839fa
commit
4ef95e32c9
1 changed files with 11 additions and 2 deletions
13
.drone.yml
13
.drone.yml
|
@ -20,6 +20,7 @@ steps:
|
|||
# path: /stupid
|
||||
environment:
|
||||
DOCKER_REPO: glenux/service-wallabag
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
|
@ -35,12 +36,16 @@ steps:
|
|||
# volumes:
|
||||
# - name: cache
|
||||
# path: /stupid
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
|
||||
cache_from:
|
||||
- "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
|
||||
- "glenux/service-wallabag:${DRONE_COMMIT_SHA:0:8}"
|
||||
repo: glenux/service-wallabag
|
||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||
purge: false
|
||||
|
@ -52,12 +57,16 @@ steps:
|
|||
|
||||
- name: publish:latest
|
||||
image: plugins/docker
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
|
||||
cache_from:
|
||||
- "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
|
||||
- "glenux/service-wallabag:${DRONE_COMMIT_SHA:0:8}"
|
||||
repo: glenux/service-wallabag
|
||||
tags: latest
|
||||
purge: false
|
||||
|
|
Loading…
Reference in a new issue