Compare commits
No commits in common. "ab2971b02e7916607f7cf90ca394760042d9b78b" and "4267bbe115f3ae4029824d2055511c0241bf7491" have entirely different histories.
ab2971b02e
...
4267bbe115
2 changed files with 38 additions and 7 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:
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
# FROM superseriousbusiness/gotosocial:0.12.2
|
# FROM superseriousbusiness/gotosocial:0.12.2
|
||||||
# FROM superseriousbusiness/gotosocial:0.13.1
|
# FROM superseriousbusiness/gotosocial:0.13.1
|
||||||
# FROM superseriousbusiness/gotosocial:0.14.2
|
# FROM superseriousbusiness/gotosocial:0.14.2
|
||||||
# FROM superseriousbusiness/gotosocial:0.15.0
|
FROM superseriousbusiness/gotosocial:0.15.0
|
||||||
FROM superseriousbusiness/gotosocial:0.16.0
|
|
||||||
|
|
Loading…
Reference in a new issue