This repository has been archived by the owner on Dec 17, 2022. It is now read-only.
forked from inconshreveable/ngrok
-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,24 @@ changelog: | |
- "^docs:" | ||
- "^test:" | ||
archives: | ||
- replacements: | ||
- id: pgrokd | ||
builds: | ||
- pgrokd | ||
name_template: "pgrokd_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
- id: pgrok | ||
builds: | ||
- pgrok | ||
name_template: "pgrok_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
|
@@ -59,6 +76,8 @@ archives: | |
format: zip | ||
brews: | ||
- name: pgrok | ||
ids: | ||
- pgrok | ||
github: | ||
owner: jerson | ||
name: homebrew-tap | ||
|
@@ -70,3 +89,17 @@ brews: | |
description: "Introspected tunnels to localhost a fork from pgrok." | ||
test: | | ||
system "#{bin}/pgrok -v" | ||
- name: pgrokd | ||
ids: | ||
- pgrokd | ||
github: | ||
owner: jerson | ||
name: homebrew-tap | ||
commit_author: | ||
name: Gerson Alexander Pardo Gamez | ||
email: [email protected] | ||
folder: Formula | ||
homepage: "https://github.com/jerson/pgrok" | ||
description: "Introspected tunnels to localhost a fork from pgrok." | ||
test: | | ||
system "#{bin}/pgrokd -v" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM jerson/go:1.13 AS builder | ||
|
||
ENV WORKDIR /app | ||
WORKDIR ${WORKDIR} | ||
|
||
COPY . . | ||
RUN make deps | ||
RUN make build | ||
|
||
FROM jerson/base:1.2 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
ENV BUILDER_PATH /app | ||
ENV WORKDIR /app | ||
WORKDIR ${WORKDIR} | ||
|
||
COPY --from=builder ${BUILDER_PATH}/pgrok /usr/local/bin/pgrok | ||
COPY --from=builder ${BUILDER_PATH}/pgrokd /usr/local/bin/pgrokd | ||
|
||
CMD ["pgrok"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters