Skip to content

Commit

Permalink
chore: Update CI to skip docker image build if Rust checks fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Jan 8, 2025
1 parent 5910f77 commit 66cd604
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
@@ -1,4 +1,4 @@
name: Build and push docker image to internal registry
name: Build and push docker image to registry

on:
workflow_call:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
registry.internal.huggingface.tech/api-inference/inference-benchmarker
ghcr.io/huggingface/inference-benchmarker
tags: |
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
# If main, release or tag
Expand Down

0 comments on commit 66cd604

Please sign in to comment.