File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ function image-build() {
65
65
local dir=$2
66
66
local dest=" ${tag} "
67
67
if [[ ! " ${tag} " == * " :" * ]]; then
68
- dest=" ${tag} :latest "
68
+ dest=" ${tag} :${OS_RELEASE_COMMIT} "
69
69
fi
70
70
71
71
local STARTTIME
@@ -78,10 +78,6 @@ function image-build() {
78
78
os::build::image " ${dir} " " ${dest} "
79
79
fi
80
80
81
- # tag to release commit unless we specified a hardcoded tag
82
- if [[ ! " ${tag} " == * " :" * ]]; then
83
- docker tag " ${dest} " " ${tag} :${OS_RELEASE_COMMIT} "
84
- fi
85
81
# ensure the temporary contents are cleaned up
86
82
git clean -fdx " ${dir} "
87
83
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ RUN mkdir $TMPDIR && \
23
23
curl -L https://github.com/google/protobuf/releases/download/v3.0.0-beta-4/protoc-3.0.0-beta-4-linux-x86_64.zip | bsdtar -C /usr/local -xf - && \
24
24
chmod uga+x /usr/local/bin/protoc && \
25
25
curl https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
26
+ go get github.com/openshift/imagebuilder/cmd/imagebuilder && \
26
27
touch /os-build-image && \
27
28
git config --global user.name origin-release-container && \
28
29
git config --global user.email
[email protected]
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ RUN mkdir $TMPDIR && \
24
24
chmod uga+x /usr/local/bin/protoc && \
25
25
curl https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
26
26
go get golang.org/x/tools/cmd/cover golang.org/x/tools/cmd/goimports github.com/tools/godep github.com/golang/lint/golint && \
27
+ go get github.com/openshift/imagebuilder/cmd/imagebuilder && \
27
28
touch /os-build-image && \
28
29
git config --global user.name origin-release-container && \
29
30
git config --global user.email
[email protected]
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ RUN mkdir $TMPDIR && \
24
24
chmod uga+x /usr/local/bin/protoc && \
25
25
curl https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
26
26
go get golang.org/x/tools/cmd/cover golang.org/x/tools/cmd/goimports github.com/tools/godep github.com/golang/lint/golint && \
27
+ go get github.com/openshift/imagebuilder/cmd/imagebuilder && \
27
28
touch /os-build-image && \
28
29
git config --global user.name origin-release-container && \
29
30
git config --global user.email
[email protected]
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ RUN mkdir $TMPDIR && \
24
24
chmod uga+x /usr/local/bin/protoc && \
25
25
curl https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | tar -C /usr/local -xzf - && \
26
26
go get golang.org/x/tools/cmd/cover golang.org/x/tools/cmd/goimports github.com/tools/godep github.com/golang/lint/golint && \
27
+ go get github.com/openshift/imagebuilder/cmd/imagebuilder && \
27
28
touch /os-build-image && \
28
29
git config --global user.name origin-release-container && \
29
30
git config --global user.email
[email protected]
You can’t perform that action at this time.
0 commit comments