Skip to content

Commit

Permalink
chores: update release yaml
Browse files Browse the repository at this point in the history
Signed-off-by: 佑祎 <zzw261520@alibaba-inc.com>
  • Loading branch information
zwzhang0107 committed Nov 22, 2023
1 parent 54b4928 commit 051589e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Release

on:
push:
tags:
- 'v*'
branches:
- release-test
# tags:
# - 'v*'

permissions:
contents: write
Expand All @@ -20,12 +22,6 @@ jobs:
ALIYUN_BJ_REG: registry.cn-beijing.aliyuncs.com
ALIYUN_HZ_REG: registry.cn-hangzhou.aliyuncs.com
steps:
- uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to AliyunCS_BJ
uses: docker/login-action@v3
with:
Expand All @@ -41,7 +37,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
pull: true
file: docker/${{ matrix.target }}.dockerfile
Expand Down

0 comments on commit 051589e

Please sign in to comment.