Skip to content

Commit c4ea1e1

Browse files
committed
wip
Signed-off-by: Adrien <[email protected]>
1 parent dba1e72 commit c4ea1e1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ jobs:
7676
uses: rlespinasse/github-slug-action@v4
7777

7878
- name: Login to internal Container Registry
79-
#if: github.event_name != 'pull_request'
79+
if: github.event_name != 'pull_request'
8080
uses: docker/login-action@v3
8181
with:
8282
username: ${{ secrets.REGISTRY_USERNAME }}
8383
password: ${{ secrets.REGISTRY_PASSWORD }}
84-
registry: ${{ vars.REGISTRY_URL }}
84+
registry: ${{ secrets.REGISTRY_URL }}
8585

8686
- name: Login to GitHub Container Registry
8787
if: github.event_name != 'pull_request'
@@ -96,7 +96,7 @@ jobs:
9696
uses: docker/metadata-action@v5
9797
with:
9898
images: |
99-
${{ vars.REGISTRY_URL }}/api-inference/text-embeddings-inference
99+
${{ secrets.REGISTRY_URL }}/api-inference/text-embeddings-inference
100100
ghcr.io/huggingface/text-embeddings-inference
101101
flavor: |
102102
latest=false
@@ -112,8 +112,7 @@ jobs:
112112
with:
113113
context: .
114114
file: ${{ matrix.dockerfile }}
115-
#push: ${{ github.event_name != 'pull_request' }}
116-
push: true
115+
push: ${{ github.event_name != 'pull_request' }}
117116
platforms: 'linux/amd64'
118117
build-args: |
119118
SCCACHE_GHA_ENABLED=${{ matrix.sccache }}
@@ -133,7 +132,7 @@ jobs:
133132
uses: docker/metadata-action@v5
134133
with:
135134
images: |
136-
${{ vars.REGISTRY_URL }}/api-inference/text-embeddings-inference
135+
${{ secrets.REGISTRY_URL }}/api-inference/text-embeddings-inference
137136
ghcr.io/huggingface/text-embeddings-inference
138137
flavor: |
139138
latest=false

0 commit comments

Comments
 (0)