Skip to content

Commit

Permalink
try push wasm image with two runners
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Oct 7, 2024
1 parent f09a25f commit b6bfdff
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-wasm-simd-image-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@ env:

jobs:
build-image-at-tag:
runs-on: ubuntu-latest
strategy:
matrix:
build:
- os: ubuntu-latest
platform: linux/amd64
- os: macos-latest
platform: linux/arm64
runs-on:
steps:
- uses: actions/checkout@v4
with:
ref: "${{ env.GIT_TAG }}"
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
Expand All @@ -36,7 +41,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64,
platforms: ${{ matrix.platform }}
push: true
tags: ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.IMAGE_NAME }}:${{ env.DOCKER_TAG }}
file: modules/light-clients/08-wasm/Dockerfile
Expand Down

0 comments on commit b6bfdff

Please sign in to comment.