Skip to content

Chore: add more Docker Semver Tags#5107

Merged
shamoon merged 3 commits into
gethomepage:devfrom
RoboMagus:docker_version_tags
Mar 31, 2025
Merged

Chore: add more Docker Semver Tags#5107
shamoon merged 3 commits into
gethomepage:devfrom
RoboMagus:docker_version_tags

Conversation

@RoboMagus
Copy link
Copy Markdown
Contributor

@RoboMagus RoboMagus commented Mar 31, 2025

Proposed change

This is a GH workflow change to add proper semantic versioning tags to the Docker build & push step.
Reasoning for the multiple tags is explained in this old Medium article.

After the recent breaking changes with the major version bump it became apparent that auto updating to the latest tag was not ideal, but manually updating after each patch release requires to much human input. Having SemVer Docker tags with multiple levels users can pin their config to has become common practice for many popular self-hosted docker services.
I hope that this PR will bring this practice to homepage as well.

Type of change

  • New service widget
  • Bug fix (non-breaking change which fixes an issue)
  • New feature or enhancement (non-breaking change which adds functionality)
  • Documentation only
  • Other (please explain)

PR is not related to the functionality of the application itself, but the way it is built / distributed.

Checklist:

  • If applicable, I have added corresponding documentation changes.
  • If applicable, I have reviewed the feature / enhancement and / or service widget guidelines.
  • I have checked that all code style checks pass using pre-commit hooks and linting checks.
  • If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.

Note

None of these check are really applicable to the changes in this PR.
However I have tested the functionality in a test CI/CD run. See Extract Docker metadata step, docker tags sub menu.

@RoboMagus RoboMagus changed the title Add Docker Semver Tags Enhancement: add Docker Semver Tags Mar 31, 2025
@shamoon shamoon changed the title Enhancement: add Docker Semver Tags Chore: add Docker Semver Tags Mar 31, 2025
@shamoon shamoon enabled auto-merge (squash) March 31, 2025 13:30
@shamoon shamoon changed the title Chore: add Docker Semver Tags Chore: add more Docker Semver Tags Mar 31, 2025
Comment thread .github/workflows/docker-publish.yml Outdated
@shamoon shamoon disabled auto-merge March 31, 2025 13:43
@shamoon shamoon enabled auto-merge (squash) March 31, 2025 13:43
Copy link
Copy Markdown
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

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

Thanks. Always a bit of a trial-and-error about GHA stuff, hope this works :)

@shamoon shamoon merged commit 1666106 into gethomepage:dev Mar 31, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 1, 2025
@RoboMagus RoboMagus deleted the docker_version_tags branch May 24, 2025 15:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants