Skip to content

Commit

Permalink
Add LABELs to Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Feb 10, 2024
1 parent 25eb361 commit eaab9ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ dockers:
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Tag}}"
- "--label=org.opencontainers.image.description=\"FOXDEN MLHub service\""

checksum:
name_template: 'checksums.txt'
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ RUN cd $PROJECT && make && cp srv /build
# RUN mkdir -p /data
FROM gcr.io/distroless/static as final
COPY --from=go-builder /build/srv /data
LABEL org.opencontainers.image.description FOXDEN MLHub service
LABEL org.opencontainers.image.description="FOXDEN MLHub service"
LABEL org.opencontainers.image.source=https://github.com/chesscomputing/mlhub
LABEL org.opencontainers.image.licenses=MIT

0 comments on commit eaab9ca

Please sign in to comment.