From 0288281f613d21e45f116e54a41f8780e36fb14d Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Sat, 17 Feb 2024 01:06:53 -0600 Subject: [PATCH] [CI] Stop publishing images to DockerHub (#1926) --- .github/workflows/image-release.yaml | 8 -------- .github/workflows/test-job.yaml | 9 --------- 2 files changed, 17 deletions(-) diff --git a/.github/workflows/image-release.yaml b/.github/workflows/image-release.yaml index 009fd59dc7..5d494a5365 100644 --- a/.github/workflows/image-release.yaml +++ b/.github/workflows/image-release.yaml @@ -117,12 +117,6 @@ jobs: IMG=kuberay/operator:${{ steps.vars.outputs.sha_short }} make docker-image working-directory: ${{env.working-directory}} - - name: Log in to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Log in to Quay.io uses: docker/login-action@v2 with: @@ -167,8 +161,6 @@ jobs: tags: | quay.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ steps.vars.outputs.sha_short }} quay.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ github.event.inputs.tag }} - docker.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ steps.vars.outputs.sha_short }} - docker.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ github.event.inputs.tag }} - name: Create tag uses: actions/github-script@v6 diff --git a/.github/workflows/test-job.yaml b/.github/workflows/test-job.yaml index 7ae688b472..74b3837e19 100644 --- a/.github/workflows/test-job.yaml +++ b/.github/workflows/test-job.yaml @@ -326,13 +326,6 @@ jobs: name: operator_img path: /tmp/operator.tar - - name: Log in to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - if: contains(fromJson('["refs/heads/master"]'), github.ref) - - name: Log in to Quay.io uses: docker/login-action@v2 with: @@ -379,8 +372,6 @@ jobs: tags: | quay.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ steps.vars.outputs.sha_short }} quay.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:nightly - docker.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:${{ steps.vars.outputs.sha_short }} - docker.io/${{env.REPO_ORG}}/${{env.REPO_NAME}}:nightly if: contains(fromJson('["refs/heads/master"]'), github.ref) test-compatibility-2_7_0: