Skip to content

Commit

Permalink
fix(kubectl-trace): image build trigger should not stay in makeopts
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Fontana <[email protected]>
  • Loading branch information
fntlnz committed Jan 11, 2019
1 parent 04e3299 commit 2f8c842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/ci-build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ make=$(command -v make)

makeopts=""
if [[ ! -z "$TRAVIS_PULL_REQUEST_BRANCH" ]]; then
makeopts="-e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH image/build"
makeopts="-e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"
fi

$make $makeopts image/build
2 changes: 1 addition & 1 deletion hack/ci-release-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ docker=$(command -v docker)

makeopts=""
if [[ ! -z "$TRAVIS_PULL_REQUEST_BRANCH" ]]; then
makeopts="-e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH image/build"
makeopts="-e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"
fi

if [[ ! -z "$QUAY_TOKEN" ]]; then
Expand Down

0 comments on commit 2f8c842

Please sign in to comment.