Add new plugins for working directory by key and TOTP authentication (#348)
* Add new plugins for working directory by key and TOTP authentication * Add GoReleaser workflow to test.yml
This commit is contained in:
parent
ab46fede58
commit
c760e1f326
2 changed files with 58 additions and 1 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
|
@ -37,4 +37,29 @@ jobs:
|
|||
with:
|
||||
args: --timeout=60m -E gofmt --verbose --print-resources-usage --build-tags full
|
||||
env:
|
||||
GOGC: "10"
|
||||
GOGC: "10"
|
||||
|
||||
|
||||
# test go releaser
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Setup Snap
|
||||
run: |
|
||||
set -e
|
||||
sudo snap install snapcraft --classic
|
||||
# https://github.com/goreleaser/goreleaser/pull/2117
|
||||
mkdir -p $HOME/.cache/snapcraft/download
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --snapshot --clean
|
||||
env:
|
||||
SKIP_PUSH: "true"
|
||||
|
|
|
|||
|
|
@ -114,6 +114,34 @@ builds:
|
|||
- arm64
|
||||
main: ./plugin/failtoban
|
||||
binary: plugins/failtoban
|
||||
tags:
|
||||
- full
|
||||
- id: plugin_workingdirbykey
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
# - darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
main: ./plugin/workingdirbykey
|
||||
binary: plugins/workingdirbykey
|
||||
tags:
|
||||
- full
|
||||
- id: plugin_totp
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
# - darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
main: ./plugin/totp
|
||||
binary: plugins/totp
|
||||
tags:
|
||||
- full
|
||||
|
||||
|
|
@ -140,6 +168,8 @@ archives:
|
|||
- plugin_failtoban
|
||||
- plugin_docker
|
||||
- plugin_kubernetes
|
||||
- plugin_workingdirbykey
|
||||
- plugin_totp
|
||||
dockers:
|
||||
- image_templates:
|
||||
- "farmer1992/sshpiperd:v{{ .Version }}-amd64"
|
||||
|
|
@ -255,6 +285,8 @@ snapcrafts:
|
|||
- plugin_yaml
|
||||
- plugin_fixed
|
||||
- plugin_failtoban
|
||||
- plugin_workingdirbykey
|
||||
- plugin_totp
|
||||
name: sshpiperd
|
||||
name_template: "sshpiperd_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||
summary: The missing reverse proxy for ssh scp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue