Files
matchbox/docker-push
2016-01-08 14:53:05 -08:00

12 lines
260 B
Bash
Executable File

#!/bin/bash -e
REPO=coreos/bootcfg
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:$GIT_SHA
docker push $QUAY_REPO:latest
docker push $QUAY_REPO:$GIT_SHA