Compare commits
No commits in common. "5763628d9d346ffdd6d1e00028ffec32a4e599b3" and "6251961a79f9ff92b0121c8c504db46328152c92" have entirely different histories.
5763628d9d
...
6251961a79
1 changed files with 37 additions and 5 deletions
42
.drone.yml
42
.drone.yml
|
@ -23,14 +23,46 @@ steps:
|
||||||
from_secret: DOCKERHUB_USERNAME
|
from_secret: DOCKERHUB_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKERHUB_PASSWORD
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
cache_from: "glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_latest"
|
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: glenux/service-gotosocial
|
repo: glenux/service-gotosocial
|
||||||
tags:
|
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||||
- "${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
|
|
||||||
- "${DRONE_BRANCH/\\//-}_latest"
|
|
||||||
- "latest"
|
|
||||||
purge: false
|
purge: false
|
||||||
|
|
||||||
|
- 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-gotosocial:latest_${DRONE_BRANCH/\\//-}"
|
||||||
|
repo: glenux/service-gotosocial
|
||||||
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
|
purge: false
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- "master"
|
||||||
|
- "develop"
|
||||||
|
- "feature/*"
|
||||||
|
|
||||||
|
- name: publish:latest
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: DOCKERHUB_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKERHUB_PASSWORD
|
||||||
|
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}"
|
||||||
|
repo: glenux/service-gotosocial
|
||||||
|
tags: latest
|
||||||
|
purge: false
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
- name: deploy:dokku
|
- name: deploy:dokku
|
||||||
image: alpine
|
image: alpine
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue