Skip to content

Commit

Permalink
Run release on github actions runner (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded authored Sep 11, 2024
1 parent b93fe9f commit 269b172
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ jobs:
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64
name: Build ${{ matrix.platform }} Image
runs-on: ${{ matrix.platform }}
- version: linux/amd64
runner: linux/amd64
- version: linux/arm64
runner: linux-arm64
name: Build ${{ matrix.platform.version }} Image
runs-on: ${{ matrix.platform.runner }}
steps:
- name: Prepare
run: |
platform=${{ matrix.platform }}
platform=${{ matrix.platform.version }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Checkout Repository
Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
id: build
with:
context: .
platforms: ${{ matrix.platform }}
platforms: ${{ matrix.platform.version }}
labels: ${{ steps.meta.outputs.label }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

Expand Down

0 comments on commit 269b172

Please sign in to comment.