test local tailscale

This commit is contained in:
Guillaume LEGENDRE 2024-06-17 15:32:23 +02:00 committed by GitHub
parent 0f7d38e774
commit 6139c6fc18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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