diff --git a/build-docker b/build-docker index 7f88d6a4..082c3fc0 100755 --- a/build-docker +++ b/build-docker @@ -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 diff --git a/push-docker b/push-docker index b37e0046..ff15a987 100755 --- a/push-docker +++ b/push-docker @@ -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