Files
matchbox/push-docker
Dalton Hubble 3073e1ed22 Rename bootcfg to matchbox in development scripts
* Build and cross-compile binary named matchbox
* Use matchbox binary in container images
2017-01-09 02:15:30 -08:00

12 lines
259 B
Bash
Executable File

#!/bin/bash -e
REPO=coreos/matchbox
QUAY_REPO=quay.io/coreos/matchbox
GIT_SHA=$(./git-version)
# quay.io
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