From ed1537df7307753bd2c3a682e0e75ad296a985f3 Mon Sep 17 00:00:00 2001 From: yixinglu <2520865+yixinglu@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:51:09 +0800 Subject: [PATCH] Remove the habor registery when using github runner --- .github/workflows/docker.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ef2b5e3..eb28fff 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,6 +3,8 @@ on: push: branches: - master + paths: + - 'Dockerfile.**' workflow_dispatch: defaults: @@ -28,11 +30,6 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - uses: docker/login-action@v2 - with: - registry: ${{ secrets.HARBOR_REGISTRY }} - username: ${{ secrets.HARBOR_USERNAME }} - password: ${{ secrets.HARBOR_PASSWORD }} - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 - uses: docker/build-push-action@v4 @@ -40,8 +37,6 @@ jobs: context: . file: ./Dockerfile.${{ matrix.os.file }} platforms: linux/amd64,linux/arm64 - tags: | - vesoft/nebula-dev:${{ matrix.os.name }} - ${{ secrets.HARBOR_REGISTRY }}/vesoft/nebula-dev:${{ matrix.os.name }} + tags: vesoft/nebula-dev:${{ matrix.os.name }} push: true build-args: VERSION=${{ matrix.os.version }}