Skip to content

Commit

Permalink
Merge pull request #93 from mesosphere/faiq/propogate-release-variables
Browse files Browse the repository at this point in the history
fix: propogate release variables to buildkit run
  • Loading branch information
faiq authored Sep 15, 2021
2 parents a9c13b8 + 5ef5c3c commit ed8c4eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ ifneq ($(wildcard $(DOCKER_SOCKET)),)
--volume "$(DOCKER_SOCKET)":/var/run/docker.sock
endif

export DOCKER_DEVKIT_PUSH_ARGS ?= \
--volume "$(HOME)/.docker":"/home/$(USER_NAME)/.docker" \
--env DOCKER_PASS \
--env DOCKER_CLI_EXPERIMENTAL

# ulimit arg is a workaround for golang's "suboptimal" bug workaround that
# manifests itself in alpine images, resulting in packer plugins sipmly dying.
#
Expand All @@ -76,6 +81,7 @@ export DOCKER_DEVKIT_ARGS ?= \
--workdir /kib \
$(DOCKER_SOCKET_ARGS) \
$(DOCKER_DEVKIT_AWS_ARGS) \
$(DOCKER_DEVKIT_PUSH_ARGS) \
$(DOCKER_DEVKIT_ENV_ARGS)


Expand Down

0 comments on commit ed8c4eb

Please sign in to comment.