Skip to content

Commit 5674947

Browse files
Merge pull request #68 from huggingface/ci-tailscale
change tailscale action version
2 parents 00395f5 + 3a49304 commit 5674947

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/docker-build-action.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ jobs:
3636
uses: actions/checkout@v3
3737

3838
- name: Tailscale
39-
uses: huggingface/tailscale-action@main
39+
uses: huggingface/tailscale-action@v1
4040
with:
4141
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
42+
slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}
43+
slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
44+
4245
- name: Set up Docker Buildx
4346
uses: docker/[email protected]
4447
with:
@@ -62,3 +65,9 @@ jobs:
6265
build-args: ${{ inputs.build_args }}
6366
file: ${{ inputs.context }}/${{ inputs.dockerfile }}
6467
tags: ${{ inputs.repository }}/${{ inputs.image }}:sha-${{ env.GITHUB_SHA_SHORT }},${{ inputs.repository }}/${{ inputs.image }}:latest
68+
69+
- name: Tailscale Wait
70+
if: ${{ failure() || runner.debug == '1' }}
71+
uses: huggingface/tailscale-action@v1
72+
with:
73+
waitForSSH: true

0 commit comments

Comments
 (0)