Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoch committed Sep 30, 2024
1 parent 109ccbf commit 8a60d72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
with:
install: true
buildkitd-config: /tmp/buildkitd.toml
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to internal Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -44,7 +51,6 @@ jobs:
with:
images: |
registry.internal.huggingface.tech/api-inference/text-generation-inference-benchmark
ghcr.io/huggingface/text-generation-inference-benchmark
tags: |
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
# If main, release or tag
Expand Down

0 comments on commit 8a60d72

Please sign in to comment.