Skip to content

Commit

Permalink
Merge pull request #2036 from zzzhangqi/V6.0
Browse files Browse the repository at this point in the history
fix: modify action
  • Loading branch information
zzzhangqi authored Nov 19, 2024
2 parents cbaf55a + f5e3c41 commit 1d3d6e2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release-v6-builder-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ on:
description: 'version'
required: true
default: 'stable'
platforms:
description: 'platforms'
required: true
default: 'linux/amd64'
type: choice
options:
- linux/amd64
- linux/arm64
- linux/amd64,linux/arm64

env:
VERSION: ${{ github.event.inputs.version }}
Expand Down Expand Up @@ -54,7 +63,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 }}
context: .
Expand Down Expand Up @@ -103,7 +112,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 }}
context: .
Expand Down

0 comments on commit 1d3d6e2

Please sign in to comment.