Skip to content

Commit

Permalink
Herokufix (#42)
Browse files Browse the repository at this point in the history
* Fix building a heroku image without variables

* 7.0.2
  • Loading branch information
WillPlatnick authored Sep 20, 2019
1 parent 0bf20fd commit 50e48a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Version 7.0.2

Docker Image: quay.io/lifechurch/k8s-deploy-helper:7.0.2

## Bugfixes

* Herokuish build process couldn't build successfully unless at least one environment variable was set.

# Version 7.0.1

Docker Image: quay.io/lifechurch/k8s-deploy-helper:7.0.1
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ else
echo "Building env file"
build_env
echo "Starting herokuish"
dockerrun="docker run -i --name=\"$CI_CONTAINER_NAME\" -v \"$(pwd):/tmp/app:ro\" gliderlabs/herokuish /bin/bash -c \"/bin/herokuish buildpack build && rm /app/.env\""
dockerrun="docker run -i --name=\"$CI_CONTAINER_NAME\" -v \"$(pwd):/tmp/app:ro\" gliderlabs/herokuish /bin/bash -c \"/bin/herokuish buildpack build && (rm /app/.env || true)\""
eval $dockerrun
docker commit "$CI_CONTAINER_NAME" "$CI_REGISTRY_IMAGE:$CI_REGISTRY_TAG"
docker rm "$CI_CONTAINER_NAME"
Expand Down

0 comments on commit 50e48a4

Please sign in to comment.