Skip to content

Commit

Permalink
feat: publish docker image (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Guduru authored Apr 4, 2024
1 parent d4f0abc commit a294ce0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# .goreleaser.yaml
dockers:
-
image_templates:
- "launchdarkly/ldcli:latest"
- "launchdarkly/ldcli:{{ .Version }}"

dockerfile: Dockerfile

-
goos: linux
# GOARCH of the built binaries/packages that should be used.
goarch: amd64

brews:
-
name: ldcli
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM alpine:3.19.1

RUN apk update
RUN apk add --no-cache git

COPY ldcli /ldcli

LABEL homepage="https://www.launchdarkly.com"

ENTRYPOINT ["/ldcli"]

0 comments on commit a294ce0

Please sign in to comment.