-
Notifications
You must be signed in to change notification settings - Fork 4
How To Release
David Matějček edited this page Sep 2, 2024
·
4 revisions
- Release Eclipse GlassFish and change the
glassfish.version
property in this repository. - Check the latest available eclipse-temurin version applicable and update the
docker.baseImage
property. - Run the build for changed images, example:
mvn clean verify
- Update also version in
.github/workflows/docker-publish.yml
file - Commit all changes push, create a PR and if the CI succeeded, merge to the main branch.
- Run the Docker Publish to GitHub action.
- Fork/Update the
docker-library/official-images
repository and replace thelibrary/glassfish
file with the file from thetarget
directory- Don't forget to update the
GitCommit
line with the commit id - Don't forget to add the
latest
tag to the latest version (as the first one) and remove it from the previous version. - Replace
linux/amd64,linux/arm64
withamd64, arm64v8
- Run
./test/tests/glassfish/run.sh glassfish:latest
for a quick test
- Don't forget to update the
- Visit the
docker-library/docs
repository and replace the contents of theglassfish
directory with the contents of thetarget/classes/docs
directory
You don't need to change anything here. Visit the docker-images-docs repository, update the README.md file and create a PR.
- Visit the
docker-library/official-images
and remove the block inlibrary/glassfish
you want to be removed. - Visit the
docker-library/docker-images-docs
repository, update the README.md file and create a PR. - Remove the directory here, then commit and push.
Sometimes you need a customized version. OmniFish decided to push its images to its own repository until Docker Hub decides to merge our PR. This repository will not be updated after the donation to Eclipse; you can create own forks too, but you cannot publicly use the Eclipse GlassFish name anywhere.
- Fork Eclipse GlassFish, change its name and whatever you need, test and build it.
- Update what you like - especially check the Dockerfile's base image version, JDK version.
- Build the image, perhaps also with other parameters:
mvn clean verify -Dglassfish.version=7.0.15 -Ddocker.glassfish.repository=myrepo/glassfish4myproject -Ddocker.noCache=true -Ddocker.glassfish.tag=7.0.15.CUST4MYPROJECT
- Deploy the image:
docker login # will ask for your username and password docker push myrepo/glassfish4myproject:7.0.15.CUST4MYPROJECT docker logout
- Repeat the steps 2 and 3 for the
latest
tag - Update the description of the Docker image in the repository with the contents of the file
target/classes/docs/content.md