15 Commits
Author SHA1 Message Date
amras bb71882938 bump version to v4.5.11+1.2.1 2026-06-17 13:32:36 +00:00
3wordchant 88a36de4f3 Use abra-bot 2026-06-11 15:16:16 -04:00
amras c6c364b46a Merge pull request 'Bump version to 1.2.0' (#2) from amras/docker-hometown:v4.5.6-1.2.0 into main
Reviewed during Kite Flying
2026-06-11 19:08:24 +00:00
amras 141f8e39a1 update build.sh to split images
Since mastodon 4.5.x uses a second image,
the build.sh needed some love to build both of them.
2026-06-11 17:02:00 +00:00
amras c03b77ff82 Bump hometown version, split image
Follows the split detailed here:
https://github.com/mastodon/mastodon/releases/tag/v4.3.0
Streaming is now a separate image, sidekiq and app should
still use the main image.
2026-06-11 08:14:48 +00:00
knoflook c7bc12588b fix the hometown version 2025-03-06 17:44:48 +01:00
knoflook 4d5d9f354c bump hometown version 2025-03-06 17:43:05 +01:00
3wordchant 167ff74e59 Whoops, fix docker tag format 2024-07-31 12:35:59 -04:00
3wordchant 6c9aab217e Latest version, v4.2.10+hometown-1.1.1 2024-07-31 12:28:11 -04:00
3wordchant ff092b9c8c Whoops, better version bump 2024-02-16 18:48:47 -03:00
3wordchant d613c742ec Update hometown 2024-02-16 18:44:57 -03:00
knoflook dcdb186b78 security release 2024-02-15 14:56:07 +00:00
3wordchant e08885ec20 Add upgrade instructions 2024-02-15 13:42:43 +00:00
3wordchant 1ff4d55e39 New upstream release 2024-02-01 20:15:00 -03:00
3wordchant a5287f8a04 New hometown version 2023-10-19 22:25:28 +01:00
3 changed files with 35 additions and 13 deletions
+16 -5
View File
@@ -5,18 +5,29 @@ steps:
- name: download hometown code
image: alpine/curl:8.1.2
commands:
- curl -L -o hometown.tar.gz https://github.com/hometown-fork/hometown/archive/refs/tags/v4.0.10+hometown-1.1.1.tar.gz
- curl -L -o hometown.tar.gz https://github.com/hometown-fork/hometown/archive/refs/tags/v4.5.11+hometown-1.2.1.tar.gz
- "tar -zxvf hometown.tar.gz"
- "rm hometown.tar.gz"
- "mv hometown-* hometown"
- name: build and publish
- name: build and publish main image
image: plugins/docker
settings:
dockerfile: hometown/Dockerfile
context: hometown
username: 3wordchant
username: abra-bot
password:
from_secret: git_coopcloud_tech_token_3wc
from_secret: git_coopcloud_tech_token_abra-bot
repo: git.coopcloud.tech/coop-cloud-chaos-patchs/hometown
tags: v4.0.10-hometown-1.1.1
tags: v4.5.11-hometown-1.2.1
registry: git.coopcloud.tech
- name: build and publish streaming server image
image: plugins/docker
settings:
dockerfile: hometown/streaming/Dockerfile
context: hometown
username: abra-bot
password:
from_secret: git_coopcloud_tech_token_abra-bot
repo: git.coopcloud.tech/coop-cloud-chaos-patchs/hometown
tags: v4.5.11-hometown-1.2.1-streaming
registry: git.coopcloud.tech
+8
View File
@@ -6,3 +6,11 @@ Automated Docker image builds for
[hometown](https://github.com/hometown-fork/hometown)
See [`.drone.yml`](./.drone.yml)
## Releasing a new image
1. Look up the latest verion number from https://github.com/hometown-fork/hometown/releases
2. Edit the URL in [`.drone.yml`](./.drone.yml) to point to the new release and edit `tags` with the new version number, both for the main image and the streaming server image.
3. Commit and push
4. Wait for the build to finish
5. Run `abra recipe upgrade` etc. as normal
+11 -8
View File
@@ -1,20 +1,23 @@
#!/bin/bash
if ! type yq; then
echo "$(tput setaf 1)\`yq\` is not availble, please install from https://github.com/mikefarah/yq"
echo "$(tput setaf 1)\`yq\` is not availble, please install version 4.x from https://github.com/mikefarah/yq"
exit 1
fi
eval "$(yq '.steps.[0].commands[]' < .drone.yml)"
eval "$(yq '.steps.[0].commands[]' < .drone.yml)"
TAG="$(yq '.steps.[1].settings.tags' < .drone.yml)"
for i in {1..2}
do (
TAG="$(yq ".steps.[$i].settings.tags" < .drone.yml)"
CONTEXT="$(yq ".steps.[$i].settings.context" < .drone.yml)"
DOCKERFILE="$(yq ".steps.[$i].settings.dockerfile" < .drone.yml)"
REPO="$(yq ".steps.[$i].settings.repo" < .drone.yml)"
(
cd hometown || return 1
docker build -t "git.coopcloud.tech/coop-cloud-chaos-patchs/hometown:$TAG" .
docker build -t "$REPO:$TAG" -f "$DOCKERFILE" "$CONTEXT"
docker push "$REPO:$TAG"
)
done
rm -r hometown
docker push "git.coopcloud.tech/coop-cloud-chaos-patchs/hometown:$TAG"