-
Notifications
You must be signed in to change notification settings - Fork 1
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
Label docker image and remove link that breaks in some contexts. #1
Conversation
After reading this issue and peering into Docker's automated build image, maybe we should rename the args to match? Also, the README should probably be updated to show how to build locally with |
com.temando.vcs-ref=$VCS_REF \ | ||
com.temando.vcs-url="https://github.com/temando/docker-doc-platform" \ | ||
com.temando.vendor="Temando Pty Ltd" \ | ||
com.temando.vcs-type="Git" |
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.
Could come from SOURCE_TYPE
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.
Better. Fixed.
com.temando.name="docker-doc-platform" \ | ||
com.temando.description="Docker image for publishing Temando documentation." \ | ||
com.temando.vcs-ref=$VCS_REF \ | ||
com.temando.vcs-url="https://github.com/temando/docker-doc-platform" \ |
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.
Could come from SOURCE_URL
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.
Better. Fixed.
LABEL com.temando.build-date=$BUILD_DATE \ | ||
com.temando.name="docker-doc-platform" \ | ||
com.temando.description="Docker image for publishing Temando documentation." \ | ||
com.temando.vcs-ref=$VCS_REF \ |
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.
Rename to SOURCE_COMMIT
?
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.
Better. Fixed.
@@ -1,3 +1,13 @@ | |||
ARG BUILD_DATE | |||
ARG VCS_REF | |||
LABEL com.temando.build-date=$BUILD_DATE \ |
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.
Drop build-date
?
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.
Happy to drop it. Done.
Added a variety of labels to docker image for production of project badges.
Also, links to external files from the
README.md
don't work when the file ends up in docker hub, so removing.