From 61f11b3c8e2719ff1a8eae1618832b6ef09d0d9d Mon Sep 17 00:00:00 2001 From: Jianmin W <2155155+jianminww@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:26:14 +0800 Subject: [PATCH] Update container.yml (#30) Remove the EULIX_REGISTRY from list. --- .github/workflows/container.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 6cea02b..5c57a6d 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -23,7 +23,6 @@ on: env: REGISTRY: ghcr.io - EULIX_REGISTRY: hub.eulix.xyz HUAWEICLOUD_REGISTRY_SH: swr.cn-east-3.myhuaweicloud.com HUAWEICLOUD_REGISTRY_BJ: swr.cn-north-4.myhuaweicloud.com HUAWEICLOUD_REGISTRY_GZ: swr.cn-south-1.myhuaweicloud.com @@ -72,14 +71,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Log into registry ${{ env.EULIX_REGISTRY }} - if: github.event_name != 'pull_request' - uses: docker/login-action@v2 - with: - registry: ${{ env.EULIX_REGISTRY }} - username: ${{ secrets.EULIX_REGISTRY_USERNAME }} - password: ${{ secrets.EULIX_REGISTRY_PASSWORD }} - - name: Log into registry Docker Hub if: github.event_name != 'pull_request' uses: docker/login-action@v2 @@ -149,7 +140,6 @@ jobs: with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - ${{ env.EULIX_REGISTRY }}/${{ env.IMAGE_NAME }} aospace/${{ env.GITHUB_REPOSITORY_NAME }} ${{ env.HUAWEICLOUD_REGISTRY_SH }}/${{ env.IMAGE_NAME }} ${{ env.HUAWEICLOUD_REGISTRY_BJ }}/${{ env.IMAGE_NAME }} @@ -172,4 +162,4 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max file: Dockerfile - provenance: false \ No newline at end of file + provenance: false