Skip to content

Added image tags for major versions - #526

Open
simonjamain wants to merge 1 commit into
node-red:mainfrom
simonjamain:main
Open

Added image tags for major versions#526
simonjamain wants to merge 1 commit into
node-red:mainfrom
simonjamain:main

Conversation

@simonjamain

@simonjamain simonjamain commented Jul 27, 2026

Copy link
Copy Markdown

Resolves #525

  • [ ? ] Bugfix (non-breaking change which fixes an issue)
  • [ ? ] New feature (non-breaking change which adds functionality)

Proposed changes

see #525 for the origin

The introduction of a new registry tag holding only the major version (keeping and ofc) to allow easy tracking of major changes only.

Examples of images with this principle :

nginx : https://hub.docker.com/layers/library/nginx/1
traefik : https://hub.docker.com/layers/library/traefik/3

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the mailing list/slack team. (not really, discussed here No registry image tag for major versions #525)
  • I have run grunt to verify the unit tests pass (N/A, I don't think that any tests are covering those tags)
  • I have added suitable unit tests to cover the new/changed functionality (N/A, I don't think that any tests are covering those tags)

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 27, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: simonjamain / name: simonjamain (baa8dbd)

PUSH=true
VERSION=${TRAVIS_TAG:1}
STABLE_VERSION=`echo ${VERSION} | sed -r 's/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)$/\1.\2/'`
MAJOR_VERSION=`echo ${VERSION} | sed -r 's/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)$/\1/'`

@simonjamain simonjamain Jul 27, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to keep your regex logic that explicits the whole expected input and just select the relevant parts, that also makes it easy to compare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No registry image tag for major versions

1 participant