diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml index 54f27b85..560b87d3 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/releaser.yaml @@ -37,6 +37,7 @@ jobs: push: true build-args: | VERSION=${{ steps.vars.outputs.tag }} + CGO_CFLAGS= tags: flashbots/mev-boost:latest,flashbots/mev-boost:${{ steps.vars.outputs.tag }} platforms: linux/amd64,linux/arm64 @@ -47,7 +48,7 @@ jobs: push: true build-args: | VERSION=${{ steps.vars.outputs.tag }} - CGO_CFLAGS="-O -D__BLST_PORTABLE__" + CGO_CFLAGS=-O -D__BLST_PORTABLE__ tags: flashbots/mev-boost:latest-portable,flashbots/mev-boost:${{ steps.vars.outputs.tag }}-portable platforms: linux/amd64,linux/arm64 diff --git a/Makefile b/Makefile index 07f2141a..1b228089 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ run-mergemock-integration: build .PHONY: docker-image docker-image: - DOCKER_BUILDKIT=1 docker build --build-arg VERSION=${VERSION} . -t mev-boost + DOCKER_BUILDKIT=1 docker build --build-arg CGO_CFLAGS="" --build-arg VERSION=${VERSION} . -t mev-boost docker tag mev-boost:latest ${DOCKER_REPO}:${VERSION} docker tag mev-boost:latest ${DOCKER_REPO}:latest