Skip to content

Commit

Permalink
docker: add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Divkix committed May 26, 2023
1 parent 8fe9846 commit b4554d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ RUN CGO_ENABLED=0 GOOS=`go env GOHOSTOS` GOARCH=`go env GOHOSTARCH` go build -o
FROM alpine:3.18.0
COPY --from=builder /app/out/RestrictChannelRobot /
CMD ["/RestrictChannelRobot"]

LABEL org.opencontainers.image.authors="Divanshu Chauhan <divkix@divkix.me>"
LABEL org.opencontainers.image.url="https://divkix.me"
LABEL org.opencontainers.image.source="https://github.com/divkix/RestrictChannelRobot"
LABEL org.opencontainers.image.title="Restrict Channel Robot"
LABEL org.opencontainers.image.description="Official Restrict Channel Bot Docker Image"
LABEL org.opencontainers.image.vendor="Divkix"
6 changes: 6 additions & 0 deletions goreleaser.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM alpine:3.18.0
COPY restrictchannelrobot /
CMD ["/restrictchannelrobot"]
LABEL org.opencontainers.image.authors="Divanshu Chauhan <divkix@divkix.me>"
LABEL org.opencontainers.image.url="https://divkix.me"
LABEL org.opencontainers.image.source="https://github.com/divkix/RestrictChannelRobot"
LABEL org.opencontainers.image.title="Restrict Channel Robot"
LABEL org.opencontainers.image.description="Official Restrict Channel Bot Docker Image"
LABEL org.opencontainers.image.vendor="Divkix"

0 comments on commit b4554d5

Please sign in to comment.