-
Notifications
You must be signed in to change notification settings - Fork 322
Add Ghost 5 support #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ghost 5 support #306
Conversation
I did test locally with this
Caddyfile:
|
I just tested the Alpine version with a backup of my personal blog and everything work as expected. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small change and then we also need to update generate-stackbrew-library.sh
so that the latest
tag will move:
ghost/generate-stackbrew-library.sh
Line 5 in 054059f
[4]='latest' |
With Ghost5 removing sqlite from official support, will this need to migrate to use mysql as a default? |
Co-authored-by: yosifkit <yosifkit@gmail.com>
It looks like it:
|
@yosifkit |
Looks like we need to update https://github.com/docker-library/official-images/blob/af804b40f14198cc6fb3b134cbb7311c5fdb260b/test/tests/ghost-basics/run.sh#L35-L42 🙈 (Probably switching that fallback to |
Also ghost does not specify api versions anymore:
|
Ah! So we could update that to something like this? # Check that /ghost/ redirects to setup (the image is unconfigured by default)
ghostVersion="$(docker inspect --format '{{range .Config.Env}}{{ . }}{{"\n"}}{{end}}' "$serverImage" | awk -F= '$1 == "GHOST_VERSION" { print $2 }')"
case "$ghostVersion" in
4.*) _request GET '/ghost/api/v4/admin/authentication/setup/' | grep 'status":false' > /dev/null ;;
*) _request GET '/ghost/api/admin/authentication/setup/' | grep 'status":false' > /dev/null ;;
esac |
Did not see your comment and already did the change for version 5 here: I did this just analog to what was done before. |
Nice, pipeline without errors and no need for ci wip commits 😅 Anything left to do in order to publish the new version? |
Changes: - docker-library/ghost@62e6411: Add Ghost 5 support (docker-library/ghost#306) - docker-library/ghost@054059f: Update to 4.48.0, ghost-cli 1.21.0
Experiencing some issues on Apple with the M1 chip (not sure if that is related):
Docker version: Docker version 20.10.14, build a224086 P.S. Any ideas? |
I'm guessing it wasn't quite built and available yet -- if you try again, it'll probably work now. 👍 |
It still does not work. @tianon The build failed for |
Changes: - docker-library/ghost@62e6411: Add Ghost 5 support (docker-library/ghost#306) - docker-library/ghost@054059f: Update to 4.48.0, ghost-cli 1.21.0
Add Ghost 5 support.
Simply copy-pasting the folder for Ghost 4 and then bump versions for Ghost itself and the base node images.
Since Ghost will support patches for Ghost 4 until Jan 2023 I thought this might be an easy solution to keep both images.