Skip to content

Commit 90ec4c1

Browse files
committed
test
Signed-off-by: Adrien <[email protected]>
1 parent f4c36e3 commit 90ec4c1

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/build.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ on:
88
tags:
99
- 'v*'
1010
pull_request:
11-
# paths:
12-
# - ".github/workflows/build.yaml"
13-
# - "integration-tests/**"
14-
# - "backends/**"
15-
# - "core/**"
16-
# - "router/**"
17-
# - "Cargo.lock"
18-
# - "rust-toolchain.toml"
19-
# - "Dockerfile"
11+
paths:
12+
- ".github/workflows/build.yaml"
13+
- ".github/workflows/matrix.json"
14+
- "integration-tests/**"
15+
- "backends/**"
16+
- "core/**"
17+
- "router/**"
18+
- "Cargo.lock"
19+
- "rust-toolchain.toml"
20+
- "Dockerfile"
2021
branches:
2122
- 'main'
2223

@@ -155,9 +156,9 @@ jobs:
155156
labels: ${{ steps.meta-grpc.outputs.labels }}
156157
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
157158

158-
159+
# Push to internal registry only on main branch
159160
- name: Tailscale
160-
#if: ${{ github.event_name != 'pull_request' }}
161+
if: ${{ github.event_name != 'pull_request' }}
161162
uses: huggingface/tailscale-action@main
162163
with:
163164
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
@@ -221,3 +222,6 @@ jobs:
221222
ref: refs/heads/main
222223
token: ${{ secrets.SYNC_REGISTRY_TOKEN }}
223224
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) }}" }'
225+
226+
- name: Disconnect tailscale
227+
run: tailscale logout

0 commit comments

Comments
 (0)