Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien <[email protected]>
  • Loading branch information
XciD committed Jul 17, 2024
1 parent f4c36e3 commit 90ec4c1
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ on:
tags:
- 'v*'
pull_request:
# paths:
# - ".github/workflows/build.yaml"
# - "integration-tests/**"
# - "backends/**"
# - "core/**"
# - "router/**"
# - "Cargo.lock"
# - "rust-toolchain.toml"
# - "Dockerfile"
paths:
- ".github/workflows/build.yaml"
- ".github/workflows/matrix.json"
- "integration-tests/**"
- "backends/**"
- "core/**"
- "router/**"
- "Cargo.lock"
- "rust-toolchain.toml"
- "Dockerfile"
branches:
- 'main'

Expand Down Expand Up @@ -155,9 +156,9 @@ jobs:
labels: ${{ steps.meta-grpc.outputs.labels }}
cache-from: type=s3,region=us-east-1,bucket=ci-docker-buildx-cache,name=text-embeddings-inference-cache-${{matrix.name}},access_key_id=${{ secrets.S3_CI_DOCKER_BUILDX_CACHE_ACCESS_KEY_ID }},secret_access_key=${{ secrets.S3_CI_DOCKER_BUILDX_CACHE_SECRET_ACCESS_KEY }},mode=max


# Push to internal registry only on main branch
- name: Tailscale
#if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.event_name != 'pull_request' }}
uses: huggingface/tailscale-action@main
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
Expand Down Expand Up @@ -221,3 +222,6 @@ jobs:
ref: refs/heads/main
token: ${{ secrets.SYNC_REGISTRY_TOKEN }}
inputs: '{"source_image": "registry-us-east-1.prod.aws.ci.huggingface.tech/api-inference/text-embeddings-inference:${{ matrix.imageNamePrefix }}sha-${{ env.GITHUB_SHA_SHORT }}-grpc", "destination_image": "${{ join(fromJson(steps.meta-grpc-internal-registry.outputs.json).tags) }}" }'

- name: Disconnect tailscale
run: tailscale logout

0 comments on commit 90ec4c1

Please sign in to comment.