diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 1d1dde7f..58094029 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -10,11 +10,10 @@ env: jobs: build_prover_image: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] name: [apinode, bootnode, prover, sequencer] include: - name: apinode @@ -40,12 +39,6 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - - - name: Setup Docker and Colima - if: runner.os == 'macOS' - run: | - brew install docker colima - colima start - name: Setup Docker buildx uses: docker/setup-buildx-action@v2 @@ -60,17 +53,18 @@ jobs: - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.REGISTRY }}/${{ matrix.image_name }} - name: Build and push Docker image ${{ matrix.name }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64, linux/arm64 file: ./${{ matrix.dockerfile }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + outputs: type=image,name=${{ env.REGISTRY_IMAGE }},name-canonical=true