Skip to content

Commit

Permalink
fix: workflow; chore: improve logging output;
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgolino committed Jan 28, 2024
1 parent 97047ac commit 1dc2f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_at_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.WK_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
4 changes: 3 additions & 1 deletion bin/socket
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ if [ $OVPN_ENABLE = true ]; then
sleep 10
fi

ssh -v -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -i /opt/socket/$SSH_KEYNAME.pem -NL 0.0.0.0:$SOCK_PORT:$RDOCKER_SOCK $SSH_USER@$SSH_HOST
ssh -v -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -i /opt/socket/$SSH_KEYNAME.pem -NL 0.0.0.0:$SOCK_PORT:$RDOCKER_SOCK $SSH_USER@$SSH_HOST &> /opt/socket-bin/ssh.log &

tail -f /opt/socket-bin/openvpn.log /opt/socket-bin/ssh.log

0 comments on commit 1dc2f1d

Please sign in to comment.