build-docker,push-docker: Remove deprecated tag -f flag

This commit is contained in:
Dalton Hubble
2016-07-06 01:13:59 -07:00
parent 813255d4fb
commit b039a7dda9
2 changed files with 2 additions and 2 deletions

View File

@@ -4,4 +4,4 @@ REPO=coreos/bootcfg
GIT_SHA=$(./git-version)
docker build -q --rm=true -t $REPO:$GIT_SHA .
docker tag -f $REPO:$GIT_SHA $REPO:latest
docker tag $REPO:$GIT_SHA $REPO:latest

View File

@@ -5,7 +5,7 @@ QUAY_REPO=quay.io/coreos/bootcfg
GIT_SHA=$(./git-version)
# quay.io
docker tag -f $REPO:$GIT_SHA $QUAY_REPO:latest
docker tag $REPO:$GIT_SHA $QUAY_REPO:latest
docker tag $REPO:$GIT_SHA $QUAY_REPO:$GIT_SHA
docker push $QUAY_REPO:latest
docker push $QUAY_REPO:$GIT_SHA