mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 19:28:05 +08:00
fix: update action file
Signed-off-by: Qi Zhang <smallqi1@163.com>
This commit is contained in:
parent
e6441ff5c5
commit
498c5b241c
22
.github/workflows/release-v6.yml
vendored
22
.github/workflows/release-v6.yml
vendored
@ -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
|
||||
@ -20,6 +20,14 @@ on:
|
||||
- operator
|
||||
- region
|
||||
- console
|
||||
platforms:
|
||||
description: 'build-who'
|
||||
required: true
|
||||
default: 'linux/amd64'
|
||||
type: choice
|
||||
options:
|
||||
- linux/amd64
|
||||
- linux/amd64,linux/arm64
|
||||
|
||||
env:
|
||||
VERSION: ${{ github.event.inputs.version }}
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user