Skip to content

Commit

Permalink
Update container.yml (#30)
Browse files Browse the repository at this point in the history
Remove the EULIX_REGISTRY from list.
  • Loading branch information
jianminww authored Nov 27, 2024
1 parent e4abf65 commit 61f11b3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -172,4 +162,4 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile
provenance: false
provenance: false

0 comments on commit 61f11b3

Please sign in to comment.