Skip to content

Commit

Permalink
fix docker ci args
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Aug 31, 2022
1 parent a7f09a8 commit 705a264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 705a264

Please sign in to comment.