Skip to content

Commit

Permalink
fix variable use in docker make target
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Salisbury <[email protected]>
  • Loading branch information
eikenb and samsalisbury authored May 31, 2022
1 parent df8db64 commit 68ac4a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ dev:

# dev docker builds
docker:
@env CGO_ENABLED="0" go build -ldflags "${LD_FLAGS}" -o $(NAME)
mkdir -p dist/linux/amd64/
cp consul-esm dist/linux/amd64/
env DOCKER_BUILDKIT=1 docker build -t consul-esm .
@env CGO_ENABLED="0" go build -ldflags "${LD_FLAGS}" -o dist/linux/amd64/$(NAME)
env DOCKER_BUILDKIT=1 docker build -t $(NAME) .
.PHONY: docker

test:
Expand Down

0 comments on commit 68ac4a7

Please sign in to comment.