Skip to content

Commit

Permalink
Switch from commits to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Dec 3, 2024
1 parent 5d4af6a commit 1dce2b6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ RUN \
echo "**** install mastodon ****" && \
mkdir -p /app/www && \
if [ -z ${MASTODON_VERSION+x} ]; then \
MASTODON_VERSION=$(curl -sX GET https://api.github.com/repos/glitch-soc/mastodon/commits/main \
| jq -r '. | .sha'); \
MASTODON_VERSION=$(curl -sX GET "https://api.github.com/repos/glitch-soc/mastodon/commits/main" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -s -o \
/tmp/mastodon.tar.gz -L \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ RUN \
echo "**** install mastodon ****" && \
mkdir -p /app/www && \
if [ -z ${MASTODON_VERSION+x} ]; then \
MASTODON_VERSION=$(curl -sX GET https://api.github.com/repos/glitch-soc/mastodon/commits/main \
| jq -r '. | .sha'); \
MASTODON_VERSION=$(curl -sX GET "https://api.github.com/repos/glitch-soc/mastodon/commits/main" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -s -o \
/tmp/mastodon.tar.gz -L \
Expand Down
8 changes: 4 additions & 4 deletions jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

# jenkins variables
project_name: docker-mastodon
external_type: github_commit
external_type: github_stable
release_type: prerelease
release_tag: glitch
ls_branch: glitch
build_armhf: false
image_sbom: true
image_provenance: true
repo_vars:
- EXT_GIT_BRANCH = 'main'
- EXT_USER = 'glitch-soc'
Expand All @@ -25,7 +26,6 @@ repo_vars:
- CI_PORT='80'
- CI_SSL='false'
- CI_DELAY='120'
- CI_DOCKERENV='TZ=US/Pacific'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH=''

1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ init_diagram: |
"mastodon:glitch" <- Base Images
# changelog
changelogs:
- {date: "03.12.24:", desc: "Switch from commit builds to releases to match upstream changes."}
- {date: "27.05.24:", desc: "Existing users should update their nginx confs to avoid http2 deprecation warnings."}
- {date: "23.05.24:", desc: "Rebase to Alpine 3.20."}
- {date: "02.05.24:", desc: "Rebase to Alpine 3.19, enable [Active Record Encryption](https://github.com/mastodon/mastodon/pull/29831/files)."}
Expand Down

0 comments on commit 1dce2b6

Please sign in to comment.