docker image 不需要推送到 AWS

This commit is contained in:
baozhoutao 2024-10-23 14:47:48 +08:00
parent ef09ccf29e
commit aa07d993e7

View File

@ -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: