Skip to content
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

Opencontainers labels #2

Merged
merged 3 commits into from
Mar 9, 2020
Merged

Opencontainers labels #2

merged 3 commits into from
Mar 9, 2020

Conversation

zappy-shu
Copy link
Contributor

@zappy-shu zappy-shu commented Mar 6, 2020

Setting the add_git_labels to true adds labels as per the
opencontainers standard: https://github.com/opencontainers/image-spec/blob/master/annotations.md

The 3 labels supported are:

  • org.opencontainers.image.created
  • org.opencontainers.image.source
  • org.opencontainers.image.revision

This requires using a new version of the docker/github-actions image which has yet to be released. See docker/github-actions#5

Setting the INPUT_ADD_GIT_LABELS env var to true adds labels as per the
opencontainers standard: https://github.com/opencontainers/image-spec/blob/master/annotations.md

The 3 labels supported are:
- org.opencontainers.image.created
- org.opencontainers.image.source
- org.opencontainers.image.revision

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
@zappy-shu zappy-shu changed the title [WIP]Opencontainers labels Opencontainers labels Mar 9, 2020
@zappy-shu zappy-shu merged commit df13b26 into master Mar 9, 2020
@zappy-shu zappy-shu deleted the opencontainers-labels branch March 9, 2020 11:26
@Surgo Surgo mentioned this pull request Sep 3, 2020
@dmatviichuk dmatviichuk mentioned this pull request Feb 29, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant