@@ -159,6 +159,12 @@ jobs:
159
159
build-args : |
160
160
PG_VERSION=${{ matrix.version }}
161
161
SEMVER=${{ env.SEMVER }}
162
+ - name : Login to GHCR
163
+ uses : docker/login-action@v3
164
+ with :
165
+ registry : ghcr.io
166
+ username : ${{ github.actor }}
167
+ password : ${{ secrets.GITHUB_TOKEN }}
162
168
- name : Push PostgreSQL release to Docker Registry
163
169
uses : docker/build-push-action@v6
164
170
with :
@@ -167,13 +173,15 @@ jobs:
167
173
platforms : ${{ matrix.runner == 'ubuntu-22.04' && 'linux/amd64' || 'linux/arm64' }}
168
174
file : ./docker/Dockerfile
169
175
provenance : false
170
- tags : tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-${{ env.PLATFORM }}
176
+ tags : |
177
+ tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-${{ env.PLATFORM }}
178
+ ghcr.io/tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-${{ env.PLATFORM }}
171
179
build-args : |
172
180
PG_VERSION=${{ matrix.version }}
173
181
SEMVER=${{ env.SEMVER }}
174
182
PGVECTOR=0.8.0
175
183
- name : Login to modelzai Docker Hub
176
- uses : docker/login-action@v2
184
+ uses : docker/login-action@v3
177
185
with :
178
186
username : ${{ secrets.DOCKERIO_MODELZ_USERNAME }}
179
187
password : ${{ secrets.DOCKERIO_MODELZ_TOKEN }}
@@ -211,6 +219,12 @@ jobs:
211
219
with :
212
220
username : ${{ secrets.DOCKERIO_USERNAME }}
213
221
password : ${{ secrets.DOCKERIO_TOKEN }}
222
+ - name : Login to GHCR
223
+ uses : docker/login-action@v3
224
+ with :
225
+ registry : ghcr.io
226
+ username : ${{ github.actor }}
227
+ password : ${{ secrets.GITHUB_TOKEN }}
214
228
- name : Create manifest and push
215
229
run : |
216
230
docker manifest create \
@@ -223,6 +237,12 @@ jobs:
223
237
--amend tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-amd64 \
224
238
--amend tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-arm64
225
239
docker manifest push tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}
240
+ docker manifest create \
241
+ ghcr.io/tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }} \
242
+ --amend ghcr.io/tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-amd64 \
243
+ --amend ghcr.io/tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}-arm64
244
+ docker manifest push ghcr.io/tensorchord/vchord-postgres:pg${{ matrix.version }}-v${{ env.SEMVER }}
245
+
226
246
227
247
create-manifests-modelzai :
228
248
runs-on : ubuntu-latest
0 commit comments