Rebuild goharbor/photon image before create new harbor base images#23248
Merged
wy65701436 merged 5 commits intoMay 18, 2026
Conversation
Signed-off-by: jUDASmILE <judasmile@gmail.com>
Signed-off-by: jUDASmILE <judasmile@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23248 +/- ##
==========================================
- Coverage 66.03% 66.03% -0.01%
==========================================
Files 1074 1074
Lines 116854 116854
Branches 2955 2955
==========================================
- Hits 77168 77160 -8
- Misses 35402 35409 +7
- Partials 4284 4285 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
stonezdj
approved these changes
May 18, 2026
5 tasks
This was referenced May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for contributing to Harbor!
Comprehensive Summary of your change
Motivation:
Currently, the goharbor/photon:5.0 image relies on a fixed snapshot from the photon 91 branch. Keeping this updated requires manual intervention—such as modifying the Dockerfile or running scheduled refreshes—which adds unnecessary maintenance overhead.
What this PR does:
This PR updates the build process to leverage the Photon team's new branching strategy by using the photon-snapshot repository as the source.
Impact:
Whenever we create new Harbor base images, the build will automatically pull the latest upstream changes (whether the Photon team releases a new snapshot or cuts a new branch). This eliminates the need for manual updates and ensures our base images are consistently up-to-date.
Issue being fixed
Fixes #(issue)
Please indicate you've done the following: