Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Go
secrethub-proxy
*.exe
*.exe~
*.dll
*.so
*.dylib
dist/

# IDE
.vscode
.idea
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ archive:
files:
# Only archive the binary
- none*

dockers:
-
goos: linux
goarch: amd64
binaries:
- secrethub-proxy
image_templates:
- "secrethubio/proxy:{{ .Version }}"
- "secrethubio/proxy:latest"
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM alpine

COPY secrethub-proxy /usr/bin/secrethub-proxy
RUN apk add --no-cache ca-certificates && update-ca-certificates

EXPOSE 8080

CMD secrethub-proxy -C ${SECRETHUB_CREDENTIAL:-$(cat /secrethub/credential)} -P ${SECRETHUB_CREDENTIAL_PASSPHRASE} -h 0.0.0.0 -p 8080