File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ permissions: write-all
1010
1111env :
1212 DOCKER_IMAGE : 36node/auth
13+ HARBOR_IMAGE : ${{ secrets.HARBOR_DOMAIN }}/36node/auth
1314 SDK_TS_REPO : 36node/auth-sdk-ts
1415
1516concurrency :
@@ -45,16 +46,25 @@ jobs:
4546 with :
4647 images : |
4748 ${{ env.DOCKER_IMAGE }}
49+ ${{ env.HARBOR_IMAGE }}
4850 tags : ${{ steps.get_tag.outputs.VERSION }}
4951 - name : Set up QEMU
5052 uses : docker/setup-qemu-action@v3
5153 - name : Set up Docker Buildx
5254 uses : docker/setup-buildx-action@v3
55+
5356 - name : Login to DockerHub
5457 uses : docker/login-action@v3
5558 with :
5659 username : ' ${{ secrets.DOCKERHUB_USERNAME }}'
5760 password : ' ${{ secrets.DOCKERHUB_TOKEN }}'
61+ - name : Login to Harbor
62+ uses : docker/login-action@v3
63+ with :
64+ registry : ${{ secrets.HARBOR_DOMAIN }}
65+ username : ${{ secrets.HARBOR_USERNAME }}
66+ password : ${{ secrets.HARBOR_PASSWORD }}
67+
5868 - name : Build and push
5969 uses : docker/build-push-action@v5
6070 with :
You can’t perform that action at this time.
0 commit comments