mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
build-docker,push-docker: Remove deprecated tag -f flag
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user