Skip to content

Commit

Permalink
chore: support ipv6
Browse files Browse the repository at this point in the history
Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Mar 16, 2024
1 parent c040411 commit 84bc657
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 14 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,21 @@ inputs:
description: "pass all environment variable to shell script."
request_pty:
description: "Request a pseudo-terminal from the server."
# runs:
# using: "docker"
# image: "Dockerfile"
runs:
using: "docker"
image: "Dockerfile"
using: "composite"
steps:
- name: Set GitHub Path
run: echo "$GITHUB_ACTION_PATH" >> $GITHUB_PATH
shell: bash
env:
GITHUB_ACTION_PATH: ${{ github.action_path }}

- name: Run entrypoint.sh
run: entrypoint.sh
shell: bash

branding:
icon: "terminal"
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ set -eu

export GITHUB="true"

curl -v https://github.com/appleboy/drone-ssh/releases/download/v1.7.4/drone-ssh-1.7.4-linux-amd64 -o /bin/drone-ssh

sh -c "/bin/drone-ssh $*"

0 comments on commit 84bc657

Please sign in to comment.