From 3a49304a5b9638093cda859fdb2126baaefd2f06 Mon Sep 17 00:00:00 2001 From: Guillaume LEGENDRE Date: Tue, 16 Apr 2024 14:46:31 +0200 Subject: [PATCH] change tailscale action version --- .github/workflows/docker-build-action.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-action.yaml b/.github/workflows/docker-build-action.yaml index c01a391c..62cba961 100644 --- a/.github/workflows/docker-build-action.yaml +++ b/.github/workflows/docker-build-action.yaml @@ -36,9 +36,12 @@ jobs: uses: actions/checkout@v3 - name: Tailscale - uses: huggingface/tailscale-action@main + uses: huggingface/tailscale-action@v1 with: authkey: ${{ secrets.TAILSCALE_AUTHKEY }} + slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }} + slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }} + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2.0.0 with: @@ -62,3 +65,9 @@ jobs: build-args: ${{ inputs.build_args }} file: ${{ inputs.context }}/${{ inputs.dockerfile }} tags: ${{ inputs.repository }}/${{ inputs.image }}:sha-${{ env.GITHUB_SHA_SHORT }},${{ inputs.repository }}/${{ inputs.image }}:latest + + - name: Tailscale Wait + if: ${{ failure() || runner.debug == '1' }} + uses: huggingface/tailscale-action@v1 + with: + waitForSSH: true