Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
build and tag with instead if hardcoded rancher
Browse files Browse the repository at this point in the history
  • Loading branch information
debei authored and niusmallnan committed Apr 24, 2019
1 parent 0d54fbd commit 49338ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-images
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ function build() {
${build_dir}/prebuild.sh "${version}" "${LOCALARCH}"
fi

if dapper -d --build -f ${build_dir}/Dockerfile -- -t rancher/${name} ${build_dir}; then
docker tag rancher/${name} ${tag}
if dapper -d --build -f ${build_dir}/Dockerfile -- -t ${OS_REPO}/${name} ${build_dir}; then
docker tag ${OS_REPO}/${name} ${tag}
if [ "${name}" == "os-docker" ]; then
docker run --rm -it ${tag} /engine/docker version | grep Version
docker run --rm -it ${tag} /engine/docker version | grep Arch
Expand Down

0 comments on commit 49338ac

Please sign in to comment.