Skip to content

Commit cc3f427

Browse files
authored
Merge pull request #208 from SURFnet/add-harbor-repo
Update deploy workflow to add harbor registry
2 parents 521087c + 39840c3 commit cc3f427

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
id: meta
1818
uses: docker/metadata-action@v4
1919
with:
20-
images: eduhub-docker-production.artie.ia.surfsara.nl/eduhub-gateway
20+
images: |
21+
eduhub-docker-production.artie.ia.surfsara.nl/eduhub-gateway
22+
cr.surf.nl/surfeduhub-gateway/gateway
2123
tags: |
2224
type=match,pattern=v\d+.\d+
2325
type=sha,format=long
@@ -29,6 +31,12 @@ jobs:
2931
registry: eduhub-docker-production.artie.ia.surfsara.nl
3032
username: ${{ secrets.ARTIFACTORY_USERNAME }}
3133
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
34+
- name: Login to Docker Hub
35+
uses: docker/login-action@v2
36+
with:
37+
registry: cr.surf.nl
38+
username: ${{ secrets.HARBOR_USERNAME }}
39+
password: ${{ secrets.HARBOR_PASSWORD }}
3240
- name: Build and push
3341
uses: docker/build-push-action@v4
3442
with:

0 commit comments

Comments
 (0)