Skip to content

Commit

Permalink
add env file to release dry run (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimg authored Jul 22, 2024
1 parent 5f63713 commit 59e4114
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ sysroot-unpack:

.PHONY: release-dry-run
release-dry-run:
@if [ ! -f ".release-env" ]; then \
echo "\033[91m.release-env is required for release\033[0m";\
exit 1;\
fi
@docker run \
--rm \
-e CGO_ENABLED=1 \
--env-file .release-env \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
Expand Down

0 comments on commit 59e4114

Please sign in to comment.