Compare commits

...

3 commits

Author SHA1 Message Date
ab2971b02e Merge pull request 'Update Dockerfile' (#16) from develop into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #16
2024-10-19 13:10:33 +00:00
e307871a20 Update Dockerfile
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2024-10-19 13:04:30 +00:00
6228bdf5f4 ci: fix tagging strategy 2024-10-19 13:04:30 +00:00
2 changed files with 7 additions and 38 deletions

View file

@ -23,46 +23,14 @@ steps:
from_secret: DOCKERHUB_USERNAME from_secret: DOCKERHUB_USERNAME
password: password:
from_secret: DOCKERHUB_PASSWORD from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-gotosocial:latest_${DRONE_BRANCH/\\//-}" cache_from: "glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-gotosocial repo: glenux/service-gotosocial
tags: "${DRONE_COMMIT_SHA:0:8}" tags:
- "${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:

View file

@ -2,4 +2,5 @@
# 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