-
Notifications
You must be signed in to change notification settings - Fork 59
Add simple version tags for agent-server Docker images #1197
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
Draft
xingyaoww
wants to merge
1
commit into
main
Choose a base branch
from
openhands/add-simple-version-tags
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OpenHands please check in this repo if our image building workflow servers.yml will enable these version tags on "git tags"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm on it! xingyaoww can track my progress at all-hands.dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on my analysis of the repository, here's the answer to your question:
Summary: Version Tags on Git Tags - Current State
Question: Will the image building workflow
server.ymlenable version tags on git tags?Answer: The workflow partially supports versioned tags, but has a critical gap that prevents the feature from working correctly.
What Currently Works ✅
--versioned-tagflag (lines 242-244)ghcr.io/openhands/agent-server:1.2.0-python-amd64ghcr.io/openhands/agent-server:1.2.0-python-arm64Critical Gap ❌
The
merge-manifestsjob does NOT create multi-arch manifests for versioned tags.Currently, the
merge-manifestsjob only creates multi-arch manifests for:b642962-pythonlatest-pythonIt does NOT create the intended simple version tags:
1.2.0-python← MISSING1.2.0-java← MISSING1.2.0-golang← MISSINGImpact
Users cannot pull images using the simple version tags described in your PR:
Required Fix
The
merge-manifestsjob (lines 355-406) needs to be updated to:versioned_tags_csvis available inGITHUB_OUTPUT)The build.py script already generates and outputs
versioned_tags_csv, but this information needs to be:tagsis saved, notversioned_tags)In summary: The versioned tags feature is incomplete. It pushes architecture-specific images but doesn't create the multi-arch manifests needed for users to pull images with simple version tags like
1.2.0-python.View full conversation