Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
f52da7a
)
Merge "[Docker] Add git branch as an argument to the dockerfile at build time"
author
jose.lausuch
<jose.lausuch@ericsson.com>
Tue, 6 Sep 2016 12:07:29 +0000
(12:07 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Tue, 6 Sep 2016 12:07:29 +0000
(12:07 +0000)
jjb/opnfv/opnfv-docker.sh
patch
|
blob
|
history
diff --git
a/jjb/opnfv/opnfv-docker.sh
b/jjb/opnfv/opnfv-docker.sh
index
ef47384
..
860eee0
100644
(file)
--- a/
jjb/opnfv/opnfv-docker.sh
+++ b/
jjb/opnfv/opnfv-docker.sh
@@
-110,7
+110,7
@@
echo "Tag version to be build and pushed: $DOCKER_TAG"
# Start the build
echo "Building docker image: $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG"
-docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG .
+docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG
--build-arg BRANCH=$branch
.
echo "Creating tag '$DOCKER_TAG'..."
docker tag -f $DOCKER_REPO_NAME:$DOCKER_BRANCH_TAG $DOCKER_REPO_NAME:$DOCKER_TAG