@@ -76,12 +76,12 @@ jobs:
76
76
uses : rlespinasse/github-slug-action@v4
77
77
78
78
- name : Login to internal Container Registry
79
- # if: github.event_name != 'pull_request'
79
+ if : github.event_name != 'pull_request'
80
80
uses : docker/login-action@v3
81
81
with :
82
82
username : ${{ secrets.REGISTRY_USERNAME }}
83
83
password : ${{ secrets.REGISTRY_PASSWORD }}
84
- registry : ${{ vars .REGISTRY_URL }}
84
+ registry : ${{ secrets .REGISTRY_URL }}
85
85
86
86
- name : Login to GitHub Container Registry
87
87
if : github.event_name != 'pull_request'
96
96
uses : docker/metadata-action@v5
97
97
with :
98
98
images : |
99
- ${{ vars .REGISTRY_URL }}/api-inference/text-embeddings-inference
99
+ ${{ secrets .REGISTRY_URL }}/api-inference/text-embeddings-inference
100
100
ghcr.io/huggingface/text-embeddings-inference
101
101
flavor : |
102
102
latest=false
@@ -112,8 +112,7 @@ jobs:
112
112
with :
113
113
context : .
114
114
file : ${{ matrix.dockerfile }}
115
- # push: ${{ github.event_name != 'pull_request' }}
116
- push : true
115
+ push : ${{ github.event_name != 'pull_request' }}
117
116
platforms : ' linux/amd64'
118
117
build-args : |
119
118
SCCACHE_GHA_ENABLED=${{ matrix.sccache }}
@@ -133,7 +132,7 @@ jobs:
133
132
uses : docker/metadata-action@v5
134
133
with :
135
134
images : |
136
- ${{ vars .REGISTRY_URL }}/api-inference/text-embeddings-inference
135
+ ${{ secrets .REGISTRY_URL }}/api-inference/text-embeddings-inference
137
136
ghcr.io/huggingface/text-embeddings-inference
138
137
flavor : |
139
138
latest=false
0 commit comments