Skip to content

Commit

Permalink
docker: push enterprise docker to cn
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Oct 9, 2023
1 parent 176d7fc commit 2391946
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release-docker-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
with:
images: |
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 @@ -54,6 +55,18 @@ 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.5 to Tag
uses: jacobtomlinson/gha-find-replace@v2
with:
Expand Down

0 comments on commit 2391946

Please sign in to comment.