-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix(docker): update docker manifest #5310
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
Signed-off-by: Oguz Ozturk <oguzkaganozt@gmail.com>
@youtalk please review now |
amd64_tags=$(printf "%s\n" $ALL_TAGS | grep "\-amd64" | sed "s/-amd64$//g") | ||
arm64_tags=$(printf "%s\n" $ALL_TAGS | grep "\-arm64" | sed "s/-arm64$//g") | ||
base_tags=$(printf "%s\n" "$amd64_tags" "$arm64_tags" | sort | uniq) | ||
echo "All tags: ${{ steps.get-all-tags.outputs.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 think it would be redundant.
https://github.com/autowarefoundation/autoware/actions/runs/11219103356/job/31184311855#step:3:576
echo "All tags: ${{ steps.get-all-tags.outputs.tags }}" |
- name: Get base tags | ||
id: get-base-tags | ||
run: | |
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.
Can you create a shell script file that performs this process and rewrite this action to just call it? This will improve readability and maintainability.
Description
In order to simplify docker tagging mechanism this PR will do the following things:
amd64
andarm64
versions found in the packages-amd64
,-arm64
tags if the combined manifest created succesfully for the corresponding versions in order to eliminate redundant tagsTests performed
https://github.com/autowarefoundation/autoware/actions/runs/11219103356/job/31184311855
Effects on system behavior
Not applicable.
Interface changes
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.