Skip to content

Commit b4382c1

Browse files
🐛 Add index annotations (#175)
Co-authored-by: ChristophShyper <[email protected]>
1 parent 4821763 commit b4382c1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Taskfile.variables.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,27 @@ vars:
131131
# Labels for http://label-schema.org/rc1/#build-time-labels
132132
# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
133133
ANNOTATIONS: >-
134+
--annotation index:org.label-schema.schema-version="1.0"
135+
--annotation index:org.label-schema.build-date="{{.BUILD_DATE}}"
136+
--annotation index:org.label-schema.name="{{.LABEL_NAME}}"
137+
--annotation index:org.label-schema.description="{{.LABEL_DESCRIPTION}}"
138+
--annotation index:org.label-schema.usage="{{.LABEL_DOCS_URL}}"
139+
--annotation index:org.label-schema.url="{{.LABEL_HOMEPAGE}}"
140+
--annotation index:org.label-schema.vcs-url="{{.LABEL_REPO_URL}}"
141+
--annotation index:org.label-schema.vcs-ref="{{.GIT_SHA}}"
142+
--annotation index:org.label-schema.vendor="{{.LABEL_VENDOR}}"
143+
--annotation index:org.label-schema.version="{{.VERSION_FULL}}{{.VERSION_SUFFIX}}"
144+
--annotation index:org.opencontainers.image.created="{{.BUILD_DATE}}"
145+
--annotation index:org.opencontainers.image.authors="{{.LABEL_AUTHOR}}"
146+
--annotation index:org.opencontainers.image.url="{{.LABEL_HOMEPAGE}}"
147+
--annotation index:org.opencontainers.image.documentation="{{.LABEL_DOCS_URL}}"
148+
--annotation index:org.opencontainers.image.source="{{.LABEL_REPO_URL}}"
149+
--annotation index:org.opencontainers.image.version="{{.VERSION_FULL}}{{.VERSION_SUFFIX}}"
150+
--annotation index:org.opencontainers.image.revision="{{.GIT_SHA}}"
151+
--annotation index:org.opencontainers.image.vendor="{{.LABEL_VENDOR}}"
152+
--annotation index:org.opencontainers.image.licenses="{{.LABEL_LICENSE}}"
153+
--annotation index:org.opencontainers.image.title="{{.LABEL_NAME}}"
154+
--annotation index:org.opencontainers.image.description="{{.LABEL_DESCRIPTION}}"
134155
--annotation manifest:org.label-schema.schema-version="1.0"
135156
--annotation manifest:org.label-schema.build-date="{{.BUILD_DATE}}"
136157
--annotation manifest:org.label-schema.name="{{.LABEL_NAME}}"

0 commit comments

Comments
 (0)