diff --git a/Taskfile.variables.yml b/Taskfile.variables.yml index 7ad6dbe..f597bf6 100644 --- a/Taskfile.variables.yml +++ b/Taskfile.variables.yml @@ -131,6 +131,27 @@ vars: # Labels for http://label-schema.org/rc1/#build-time-labels # And for https://github.com/opencontainers/image-spec/blob/master/annotations.md ANNOTATIONS: >- + --annotation index:org.label-schema.schema-version="1.0" + --annotation index:org.label-schema.build-date="{{.BUILD_DATE}}" + --annotation index:org.label-schema.name="{{.LABEL_NAME}}" + --annotation index:org.label-schema.description="{{.LABEL_DESCRIPTION}}" + --annotation index:org.label-schema.usage="{{.LABEL_DOCS_URL}}" + --annotation index:org.label-schema.url="{{.LABEL_HOMEPAGE}}" + --annotation index:org.label-schema.vcs-url="{{.LABEL_REPO_URL}}" + --annotation index:org.label-schema.vcs-ref="{{.GIT_SHA}}" + --annotation index:org.label-schema.vendor="{{.LABEL_VENDOR}}" + --annotation index:org.label-schema.version="{{.VERSION_FULL}}{{.VERSION_SUFFIX}}" + --annotation index:org.opencontainers.image.created="{{.BUILD_DATE}}" + --annotation index:org.opencontainers.image.authors="{{.LABEL_AUTHOR}}" + --annotation index:org.opencontainers.image.url="{{.LABEL_HOMEPAGE}}" + --annotation index:org.opencontainers.image.documentation="{{.LABEL_DOCS_URL}}" + --annotation index:org.opencontainers.image.source="{{.LABEL_REPO_URL}}" + --annotation index:org.opencontainers.image.version="{{.VERSION_FULL}}{{.VERSION_SUFFIX}}" + --annotation index:org.opencontainers.image.revision="{{.GIT_SHA}}" + --annotation index:org.opencontainers.image.vendor="{{.LABEL_VENDOR}}" + --annotation index:org.opencontainers.image.licenses="{{.LABEL_LICENSE}}" + --annotation index:org.opencontainers.image.title="{{.LABEL_NAME}}" + --annotation index:org.opencontainers.image.description="{{.LABEL_DESCRIPTION}}" --annotation manifest:org.label-schema.schema-version="1.0" --annotation manifest:org.label-schema.build-date="{{.BUILD_DATE}}" --annotation manifest:org.label-schema.name="{{.LABEL_NAME}}"