Skip to content

Commit

Permalink
Merge branch 'master' into 52n-4.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ridoo committed Feb 28, 2024
2 parents 623e45f + 05cf135 commit af9ef46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
image: "geoserver_data"
branch: ${{ github.ref }}
tag: ${{ steps.split.outputs._2 }}
tag: ${{ steps.split.outputs._1 }}
push: true
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ The [configurations](https://github.com/GeoNode/geonode-project/tree/master/dock

## Builds and publishing to Docker Hub

Docker images are built:
Docker images can be built and published in two ways:

- when a new commit is done to the master branch. This triggers build and updated of the published genode/{image}:latest
- when a new release is pusblished. Tagging follows the {image}_{tag}, and a new geonode/{image}:{tag} is published.
- When a new release is pusblished. Tagging follows the {image}#{tag}, and a new geonode/{image}:{tag} is published.
- Using the manual action workflow

Example:
- A new commit changes a file under the `docker/geoserver` folder -> `geonode/geoserver:latest` is built and published to Docker Hub
- A release is done with the tag `postgis_15.1` -> `geonode/postgis:15.1` is built and published to Docker Hub
- A release is done with the tag `geoserver#2.23.3-v2` -> `geonode/geooserver:2.23.3-v2` is built and published to Docker Hub
2 changes: 1 addition & 1 deletion docker/geoserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG IMAGE_VERSION=9.0-jdk11-openjdk-slim-bullseye
ARG IMAGE_VERSION=9.0.85-jdk11-temurin-focal
ARG JAVA_HOME=/usr/local/openjdk-11
FROM tomcat:$IMAGE_VERSION
LABEL GeoNode Development Team
Expand Down

0 comments on commit af9ef46

Please sign in to comment.