Merge pull request #876 from tonistiigi/fix-latest-tagging
hack: fix tagging latest images on releasedocker-19.03
commit
a18c3d0dd5
|
@ -41,7 +41,7 @@ imageDockerCommon() {
|
|||
docker push $REPO:$TAG-rootless
|
||||
set +x
|
||||
fi
|
||||
if [[ "gitTag" == "$TAG" ]]; then
|
||||
if [[ "$gitTag" == "$TAG" ]]; then
|
||||
set -x
|
||||
docker tag $REPO:$TAG $REPO:latest
|
||||
docker tag $REPO:$TAG-rootless $REPO:rootless
|
||||
|
@ -71,7 +71,7 @@ image() {
|
|||
|
||||
tagLatest=""
|
||||
tagLatestRootless=""
|
||||
if [[ "gitTag" == "$TAG" ]]; then
|
||||
if [[ "$gitTag" == "$TAG" ]]; then
|
||||
tagLatest=",$REPO:latest"
|
||||
tagLatestRootless=",$REPO:rootless"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue