diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 22b415a..f70c72b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -10,6 +10,7 @@ permissions: write-all env: DOCKER_IMAGE: 36node/auth + HARBOR_IMAGE: ${{ secrets.HARBOR_DOMAIN }}/36node/auth SDK_TS_REPO: 36node/auth-sdk-ts concurrency: @@ -45,16 +46,25 @@ jobs: with: images: | ${{ env.DOCKER_IMAGE }} + ${{ env.HARBOR_IMAGE }} tags: ${{ steps.get_tag.outputs.VERSION }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to DockerHub uses: docker/login-action@v3 with: username: '${{ secrets.DOCKERHUB_USERNAME }}' password: '${{ secrets.DOCKERHUB_TOKEN }}' + - name: Login to Harbor + uses: docker/login-action@v3 + with: + registry: ${{ secrets.HARBOR_DOMAIN }} + username: ${{ secrets.HARBOR_USERNAME }} + password: ${{ secrets.HARBOR_PASSWORD }} + - name: Build and push uses: docker/build-push-action@v5 with: