mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
docker image 不需要推送到 AWS
This commit is contained in:
parent
ef09ccf29e
commit
aa07d993e7
26
.github/workflows/npm-release.yml
vendored
26
.github/workflows/npm-release.yml
vendored
@ -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 }}
|
||||
@ -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:
|
||||
@ -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 }}
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user