Created
August 30, 2018 13:45
-
-
Save kaspergrubbe/898ddc272e57b5ebd37934afc63d4701 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euxo pipefail | |
LABEL maintainer="[email protected]" | |
REPOOWNER="kaspergrubbe" | |
REPONAME="grubruby-jemalloc" | |
VERSION="2.5.1" | |
echo "Building and pushing ${REPOOWNER}/${REPONAME} version ${VERSION}" \ | |
&& docker build -t ${REPONAME}:${VERSION} -f Dockerfile . \ | |
&& docker tag ${REPONAME}:${VERSION} ${REPOOWNER}/${REPONAME}:${VERSION} \ | |
&& docker push ${REPOOWNER}/${REPONAME}:${VERSION} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment