-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add qualifier support for docker build task #1844
Add qualifier support for docker build task #1844
Conversation
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
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.
LGTM
tests/jenkins/jobs/BuildDockerImage_Jenkinsfile_builds_both.txt
Outdated
Show resolved
Hide resolved
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
|
||
if (build_qualifier != null && build_qualifier != 'null') { | ||
build_qualifier = "-" + build_qualifier | ||
} |
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.
Nit: move else
up.
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 should just default build_qualifier to null and check inputmanifest.build.qualifier.
Will change in a later improvement.
Description
Add qualifier support for docker build task
Example: https://hub.docker.com/r/opensearchstaging/opensearch/tags?page=1&name=2.0.0-alpha1
Issues Resolved
Part of #1632
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.