Skip to content

Commit

Permalink
Move cache to push registry
Browse files Browse the repository at this point in the history
  • Loading branch information
glegendre01 authored Jun 28, 2024
1 parent 50079a8 commit ca695e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ jobs:
DOCKER_LABEL=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
tags: ${{ steps.meta.outputs.tags || steps.meta-pr.outputs.tags }}
labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }}
cache-from: type=gha,scope=cache-${{ env.LABEL }},mode=min
cache-to: type=gha,scope=cache-${{ env.LABEL }},mode=min
cache-from: type=registry,ref=registry-push.internal.huggingface.tech/api-inference/community/text-generation-inference:cache${{ env.LABEL }},mode=min
cache-to: type=registry,ref=registry-push.internal.huggingface.tech/api-inference/community/text-generation-inference:cache${{ env.LABEL }},mode=min
- name: Final
id: final
run: |
Expand Down

0 comments on commit ca695e0

Please sign in to comment.