File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1212permissions : write-all
1313
1414env :
15- DOCKER_IMAGE : 36node/github -runner
15+ DOCKER_IMAGE : harbor. 36node.com/common/actions -runner
1616
1717concurrency :
1818 group : ${{ github.workflow }}-${{ github.ref }}
@@ -42,11 +42,12 @@ jobs:
4242 uses : docker/setup-qemu-action@v3
4343 - name : Set up Docker Buildx
4444 uses : docker/setup-buildx-action@v3
45- - name : Login to DockerHub
45+ - name : Login to Harbor
4646 uses : docker/login-action@v3
4747 with :
48- username : " ${{ secrets.DOCKERHUB_USERNAME }}"
49- password : " ${{ secrets.DOCKERHUB_TOKEN }}"
48+ registry : harbor.36node.com
49+ username : " ${{ secrets.HARBOR_USERNAME }}"
50+ password : " ${{ secrets.HARBOR_PASSWORD }}"
5051 - name : Build and push
5152 uses : docker/build-push-action@v6
5253 with :
Original file line number Diff line number Diff line change 99permissions : write-all
1010
1111env :
12- DOCKER_IMAGE : 36node/github -runner
12+ DOCKER_IMAGE : harbor. 36node.com/common/actions -runner
1313
1414concurrency :
1515 group : ${{ github.workflow }}-${{ github.ref }}
@@ -50,11 +50,12 @@ jobs:
5050 uses : docker/setup-qemu-action@v3
5151 - name : Set up Docker Buildx
5252 uses : docker/setup-buildx-action@v3
53- - name : Login to DockerHub
53+ - name : Login to Harbor
5454 uses : docker/login-action@v3
5555 with :
56- username : " ${{ secrets.DOCKERHUB_USERNAME }}"
57- password : " ${{ secrets.DOCKERHUB_TOKEN }}"
56+ registry : harbor.36node.com
57+ username : " ${{ secrets.HARBOR_USERNAME }}"
58+ password : " ${{ secrets.HARBOR_PASSWORD }}"
5859 - name : Build and push
5960 uses : docker/build-push-action@v6
6061 with :
You can’t perform that action at this time.
0 commit comments