Skip to content

Commit

Permalink
fix: update action file
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
zzzhangqi committed Oct 15, 2024
1 parent f3cca9e commit 55e7f84
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/release-v6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
version:
description: 'version'
required: true
default: 'V6.0-dev'
default: 'v6.0-dev'
build-who:
description: 'build-who'
required: true
Expand All @@ -20,6 +20,14 @@ on:
- operator
- region
- console
platforms:
description: 'platforms'
required: true
default: 'linux/amd64'
type: choice
options:
- linux/amd64
- linux/amd64,linux/arm64

env:
VERSION: ${{ github.event.inputs.version }}
Expand Down Expand Up @@ -67,15 +75,15 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ github.event.inputs.platforms }}
build-args: |
RELEASE_DESC=${{ env.release_desc }}
context: .
file: hack/contrib/docker/${{ matrix.component }}/Dockerfile
push: true
tags: |
rainbond/${{ matrix.component }}:${{ env.VERSION }}
registry.cn-hangzhou.aliyuncs.com/goodrain/${{ matrix.component }}:${{ env.VERSION }}
rainbond/rbd-${{ matrix.component }}:${{ env.VERSION }}
registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-${{ matrix.component }}:${{ env.VERSION }}
rainbond-operator:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -110,7 +118,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ github.event.inputs.platforms }}
context: .
file: ./Dockerfile
push: true
Expand Down Expand Up @@ -144,7 +152,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ github.event.inputs.platforms }}
context: .
file: ./Dockerfile
push: true
Expand Down Expand Up @@ -192,7 +200,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ github.event.inputs.platforms }}
build-args: |
RELEASE_DESC=${{ env.release_desc }}
VERSION=${{ env.VERSION }}
Expand Down

0 comments on commit 55e7f84

Please sign in to comment.