Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Adding docker image labels and build helper script. #21

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

libby
Copy link
Contributor

@libby libby commented Apr 27, 2020

When building docker images (from a git tag) to be pushed to docker hub, certain docker image labels should be set to help with integrity, clarity, self documenting, etc. adding a helper script (docker-build.sh) which sets and passes in the label and env vars, e.g. VERSION (tag),
COMMIT_SHA of the image was built from.

Following OCI spec: https://github.com/opencontainers/image-spec/blob/master/annotations.md

When building docker images (from a git tag) to be pushed to docker hub,
certain docker image labels should be set to help with intregity,
clarity, self documenting, etc. adding a helper script (docker-build.sh)
which sets and passes in the label and env vars, e.g. VERSION (tag),
COMMIT_SHA of the image was built from.

Following OCI spec: https://github.com/opencontainers/image-spec/blob/master/annotations.md
@libby libby requested a review from jbhurat April 27, 2020 20:02
Copy link
Contributor

@jbhurat jbhurat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@libby libby merged commit 663fd34 into Consensys:master Apr 28, 2020
@libby libby deleted the docker-labels-build-helper branch August 11, 2020 19:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants