From 6139c6fc1845ddca753b0e6b6e92e2fe6fcd27a8 Mon Sep 17 00:00:00 2001 From: Guillaume LEGENDRE Date: Mon, 17 Jun 2024 15:32:23 +0200 Subject: [PATCH] test local tailscale --- .github/workflows/build.yaml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e80037b1..31e4184f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,9 +58,15 @@ jobs: - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4.4.1 - name: Tailscale - uses: huggingface/tailscale-action@main + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTHKEY }} + oauth-client-id: kV3YYMqHyM11CNTRL + oauth-secret: tskey-client-kV3YYMqHyM11CNTRL-payJPrYdsGaVhRahyevcFaXj7kq8BEF6 + tags: tag:ci + #- name: Tailscale + # uses: huggingface/tailscale-action@main + # with: + # authkey: ${{ secrets.TAILSCALE_AUTHKEY }} - name: Login to GitHub Container Registry if: github.event_name != 'pull_request' uses: docker/login-action@v2 @@ -68,12 +74,12 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Login to internal Container Registry - uses: docker/login-action@v2.1.0 - with: - username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }} - password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }} - registry: registry.internal.huggingface.tech + #- name: Login to internal Container Registry + # uses: docker/login-action@v2.1.0 + # with: + # username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }} + # password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }} + # registry: registry.internal.huggingface.tech - name: Login to Azure Container Registry if: github.event_name != 'pull_request' uses: docker/login-action@v2.1.0