This commit is contained in:
Guillaume LEGENDRE 2024-07-12 12:35:56 +02:00
parent c19571ad8a
commit bcf1b7e8e7
1 changed files with 8 additions and 2 deletions

View File

@ -153,12 +153,18 @@ jobs:
type=semver,pattern={{major}}.{{minor}}${{ env.LABEL }}
type=raw,value=latest${{ env.LABEL }},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
- name: Tailscale
uses: huggingface/tailscale-action@main
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}
slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
- name: Sync to internal registry
#if: ${{ github.event_name != 'pull_request' || github.ref == 'refs/heads/ci-new-cluster'}}
id: sync-internal-registry
uses: aurelien-baudet/workflow-dispatch@v2
uses: the-actions-org/workflow-dispatch@v4
with:
workflow: Copy to internal registry
workflow: build.yaml
repo: ${{ secrets.SYNC_REGISTRY_REPO }}
wait-for-completion: true
wait-for-completion-interval: 10s