Skip to content

Commit 6d6df14

Browse files
committed
πŸ’š Update opencontainers labels
1 parent 8044345 commit 6d6df14

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

β€ŽDockerfileβ€Ž

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM node:lts-alpine
22

33
LABEL \
4-
org.label-schema.schema-version="1.0" \
5-
org.label-schema.name="pull" \
6-
org.label-schema.description="Keep your forks up-to-date via automated PRs" \
7-
org.label-schema.url="https://github.com/wei/pull" \
8-
org.label-schema.usage="https://github.com/wei/pull#readme" \
9-
org.label-schema.vcs-url="https://github.com/wei/pull" \
4+
org.opencontainers.image.title="pull" \
5+
org.opencontainers.image.description="Keep your forks up-to-date via automated PRs" \
6+
org.opencontainers.image.url="https://github.com/wei/pull" \
7+
org.opencontainers.image.documentation="https://github.com/wei/pull#readme" \
8+
org.opencontainers.image.source="https://github.com/wei/pull" \
9+
org.opencontainers.image.licenses="MIT" \
10+
org.opencontainers.image.authors="Wei He <docker@weispot.com>" \
1011
maintainer="Wei He <docker@weispot.com>"
1112

1213
ENV \
@@ -57,5 +58,5 @@ CMD ["npm", "start"]
5758
ARG VCS_REF
5859
ARG BUILD_DATE
5960
LABEL \
60-
org.label-schema.vcs-ref=$VCS_REF \
61-
org.label-schema.build-date=$BUILD_DATE
61+
org.opencontainers.image.ref.name=$VCS_REF \
62+
org.opencontainers.image.created=$BUILD_DATE

0 commit comments

Comments
Β (0)