Skip to content

Commit

Permalink
chore(docker): set env variable outside
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Oct 30, 2023
1 parent f00d1d8 commit 691abaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ jobs:
run: |
cargo install cross --git https://github.com/cross-rs/cross
export PROFILE=release
export GIT_TAG=$(shell git describe --tags --abbrev=0)
sudo -E env "PATH=$PATH" make docker-build-latest
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ PROFILE ?= release
DOCKER_IMAGE_NAME ?= alchemyplatform/rundler
BIN_DIR = "dist/bin"
BUILD_PATH = "target"
GIT_TAG ?= $(shell git describe --tags --abbrev=0)

.PHONY: build
build: ## Build the project.
Expand Down Expand Up @@ -38,8 +37,6 @@ test-spec-modular: ## Run spec tests in modular mode
submodule-update: ## Run spec tests in modular mode
git submodule update

# Note: The additional rustc compiler flags are for intrinsics needed by MDBX.
# See: https://github.com/cross-rs/cross/wiki/FAQ#undefined-reference-with-build-std
build-%:
cross build --bin rundler --target $* --profile "$(PROFILE)"

Expand Down

0 comments on commit 691abaf

Please sign in to comment.