diff --git a/.github/workflows/dockerhub-latest-image.yml b/.github/workflows/dockerhub-latest-image.yml index 4c482d382..58b205281 100644 --- a/.github/workflows/dockerhub-latest-image.yml +++ b/.github/workflows/dockerhub-latest-image.yml @@ -45,5 +45,6 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: build and publish images env: + REGISTRY: karmada VERSION: latest run: make mp-image-${{ matrix.target }} diff --git a/.github/workflows/dockerhub-released-image.yml b/.github/workflows/dockerhub-released-image.yml index 0246f5716..8931263d4 100644 --- a/.github/workflows/dockerhub-released-image.yml +++ b/.github/workflows/dockerhub-released-image.yml @@ -40,6 +40,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USER_NAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: build and publish images - env: + env: + REGISTRY: karmada VERSION: ${{ github.ref_name }} run: make mp-image-${{ matrix.target }}