Graylog2 / graylog-docker

Official Graylog Docker image
https://hub.docker.com/r/graylog/graylog/
Apache License 2.0
356 stars 133 forks source link

Release job for ARM and Java 11 images doesn't handle beta and RC tags. #181

Closed malcyon closed 2 years ago

malcyon commented 2 years ago

The Jenkins job that builds the ARM and Java 11 images does not properly handle image tags for beta and release candidate builds.

In the job, we create three tags:

--tag graylog/graylog:${env.TAG_NAME}-arm64 \
--tag graylog/graylog:${MAJOR}.${MINOR}.${PATCH}-arm64 \
--tag graylog/graylog:${MAJOR}.${MINOR}-arm64 \

However, in the our Docker Hub CI, the job is specifically designed to only generate the first tag if there is a beta or release candidate suffix on the tag.

Currently, the Jenkins job fails if it sees a tag with a beta suffix (in the parse_version method). But if we fix just that regex, it will create version tags that we don't want for beta releases. There needs to be more conditional logic if we want to mimic what the Docker Hub build does.

Until it's fixed, beta releases won't include ARM and Java 11 images.