From 8ad6c602715f25240d8883e225e79835b115e0ea Mon Sep 17 00:00:00 2001 From: OlivierDehaene <23298448+OlivierDehaene@users.noreply.github.com> Date: Mon, 15 May 2023 15:27:17 +0200 Subject: [PATCH] revert --- .github/workflows/build.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b92bf5b6..0a99fb52 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -136,11 +136,8 @@ jobs: DOCKER_LABEL=sha-${{ env.GITHUB_SHA_SHORT }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: | - type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache,mode=max - type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache-${{ github.ref_name }},mode=max - type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache-${{ github.head_ref || github.run_id }},mode=max - cache-to: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache-${{ github.ref_name }},mode=max + cache-from: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache,mode=max + cache-to: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache,mode=max # Sign the resulting Docker image digest except on PRs. # This will only write to the public Rekor transparency log when the Docker # repository is public to avoid leaking data.