Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish stable Docker image corresponding to release/X.Y.Z tag #110

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

nutjob4life
Copy link
Member

🗒️ Summary

Merge this to take care of an issue in publishing mismatched versions of Docker images to the Docker Hub. Now when pushing release/1.2.3 to GitHub, you get Docker image tagged with :1.2.3 in the Docker Hub.

⚙️ Test Data and/or Report

See the corresponding entries for registry-moppers, the "sandbox" version of this project, namely:

  • The GitHub Actions stable workflow for release/3.0.0
  • The Docker Hub tags for registry-moppers, which has a corresponding :3.0.0 tag around the same timeframe.

♻️ Related Issues

@@ -82,8 +79,20 @@ jobs:
pypi_username: ${{secrets.PYPI_USERNAME}}
pypi_password: ${{secrets.PYPI_PASSWORD}}
ADMIN_GITHUB_TOKEN: ${{secrets.ADMIN_GITHUB_TOKEN}}
# At this point, the Roundup as published release/X.Y.Z to GitHub and PyPI and advanced
Copy link
Member

Choose a reason for hiding this comment

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

@nutjob4life Is there any way we can grab the tag name release/X.Y.Z here, and use that to determine what version this should be? My only concern here is we are assuming this is a minor version increment, but what if it was a major or hotfix?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah sure, good point @jordanpadams. I pushed a new commit, 6e7631b, which simplifies and streamlines.

@jordanpadams jordanpadams merged commit e1de403 into main Mar 26, 2024
2 checks passed
@jordanpadams jordanpadams deleted the i109 branch March 26, 2024 16:52
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.

2 participants