Skip to content

Commit

Permalink
push to aliyun
Browse files Browse the repository at this point in the history
  • Loading branch information
terryzwt committed Jun 19, 2024
1 parent 76e85bc commit e85a067
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,19 @@ jobs:
platforms: linux/amd64
file: ${{ matrix.Dockerfile }}
tags: ${{ matrix.image }}
-
name: Login to Aliyun CS
uses: docker/login-action@v1
with:
username: ${{ secrets.ALIYUNCR_USERNAME }}
password: ${{ secrets.ALIYUNCR_PASSWORD }}
-
name: Build and push to ALIYUN CR
id: docker_build_aliyun
uses: docker/build-push-action@v2
with:
push: true
context: .
platforms: linux/amd64
file: ${{ matrix.Dockerfile }}
tags: "registry.cn-hangzhou.aliyuncs.com/davyin/cloudrup-webserver:${{ matrix.tag }}"

0 comments on commit e85a067

Please sign in to comment.