File tree 3 files changed +13
-3
lines changed
3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ services:
9
9
script :
10
10
- make test
11
11
- make _output/bin/kubectl-trace
12
+ - ./hack/ci-build-image.sh
12
13
- make integration
13
14
after_success :
14
- - ./hack/release-image.sh
15
+ - ./hack/ci- release-image.sh
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -xeo pipefail
3
+
4
+ make=$( command -v make)
5
+
6
+ makeopts=" "
7
+ if [[ ! -z " $TRAVIS_PULL_REQUEST_BRANCH " ]]; then
8
+ makeopts=" -e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH image/build"
9
+ fi
10
+
11
+ $make $makeopts image/build
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ if [[ ! -z "$TRAVIS_PULL_REQUEST_BRANCH" ]]; then
12
12
makeopts=" -e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH image/build"
13
13
fi
14
14
15
- $make $makeopts image/build
16
-
17
15
if [[ ! -z " $QUAY_TOKEN " ]]; then
18
16
$docker login -u=" fntlnz+travisci" -p=" $QUAY_TOKEN " quay.io
19
17
$make $makeopts image/push
You can’t perform that action at this time.
0 commit comments