Skip to content

Commit

Permalink
docker image 不需要推送到 AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Oct 23, 2024
1 parent ef09ccf commit aa07d99
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ jobs:
images: |
steedos/steedos-community
registry.cn-shanghai.aliyuncs.com/steedos/steedos-community
252208178451.dkr.ecr.cn-northwest-1.amazonaws.com.cn/dockerhub/steedos/steedos-community
tags: |
type=semver,pattern={{version}},value=${{ env.STEEDOS_VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.STEEDOS_VERSION }}
Expand All @@ -335,18 +334,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_NINGXIA }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_NINGXIA }}
aws-region: cn-northwest-1
-
name: Login to ECR
uses: docker/login-action@v2
with:
registry: 252208178451.dkr.ecr.cn-northwest-1.amazonaws.com.cn

- name: Replace Version ~2.7 to Tag
uses: jacobtomlinson/gha-find-replace@v2
with:
Expand Down Expand Up @@ -434,7 +421,6 @@ jobs:
images: |
steedos/steedos-enterprise
registry.cn-shanghai.aliyuncs.com/steedos/steedos-enterprise
252208178451.dkr.ecr.cn-northwest-1.amazonaws.com.cn/dockerhub/steedos/steedos-enterprise
tags: |
type=semver,pattern={{version}},value=${{ env.STEEDOS_VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.STEEDOS_VERSION }}
Expand All @@ -453,18 +439,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_NINGXIA }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_NINGXIA }}
aws-region: cn-northwest-1
-
name: Login to ECR
uses: docker/login-action@v2
with:
registry: 252208178451.dkr.ecr.cn-northwest-1.amazonaws.com.cn

- name: Replace Version ~2.7 to Tag
uses: jacobtomlinson/gha-find-replace@v2
with:
Expand Down

0 comments on commit aa07d99

Please sign in to comment.