Skip to content

Commit

Permalink
Merge pull request #5 from NethermindEth/feat/add_nethermind
Browse files Browse the repository at this point in the history
fix: build on nethermind, labels breaking buildx
  • Loading branch information
stdevMac authored Oct 2, 2024
2 parents 642d542 + f2feba6 commit 70cc93e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,15 @@ jobs:
- name: Build and push the Docker image using buildx
run: |
# Convert labels to individual --label flags
labels=$(echo "${{ steps.meta.outputs.labels }}" | sed 's/^/--label "/; s/$/"/')
# Run the docker buildx build command
docker buildx build \
--platform linux/amd64,linux/arm64 \
--file nethermind/Dockerfile \
--tag ${{ steps.meta.outputs.tags }} \
--label ${{ steps.meta.outputs.labels }} \
--tag ghcr.io/base-org/node-nethermind:main \
$labels \
--build-arg BUILD_CONFIG=release \
--build-arg TARGETARCH=${{ matrix.platform }} \
. --push

0 comments on commit 70cc93e

Please sign in to comment.