Skip to content

Commit

Permalink
将docker image 给阿里云存储一份. #7029
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Oct 21, 2024
1 parent 3b05457 commit 8d42813
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,13 @@ jobs:
type=semver,pattern={{version}},value=${{ env.STEEDOS_VERSION }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.STEEDOS_VERSION }}
type=semver,pattern={{major}},value=${{ env.STEEDOS_VERSION }}
- name: Login to Aliyun Docker
uses: docker/login-action@v2
with:
registry: registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.ALIYUN_DOCKER_USERNAME }}
password: ${{ secrets.ALIYUN_DOCKER_PASSWORD }}

- uses: docker/login-action@v1
name: Login Docker Hub
Expand Down Expand Up @@ -431,6 +438,13 @@ jobs:
type=semver,pattern={{major}}.{{minor}},value=${{ env.STEEDOS_VERSION }}
type=semver,pattern={{major}},value=${{ env.STEEDOS_VERSION }}
- name: Login to Aliyun Docker
uses: docker/login-action@v2
with:
registry: registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.ALIYUN_DOCKER_USERNAME }}
password: ${{ secrets.ALIYUN_DOCKER_PASSWORD }}

- uses: docker/login-action@v1
name: Login Docker Hub
with:
Expand Down

0 comments on commit 8d42813

Please sign in to comment.