Skip to content

Instantly share code, notes, and snippets.

@kaspergrubbe
Created August 30, 2018 13:45
Show Gist options
  • Save kaspergrubbe/898ddc272e57b5ebd37934afc63d4701 to your computer and use it in GitHub Desktop.
Save kaspergrubbe/898ddc272e57b5ebd37934afc63d4701 to your computer and use it in GitHub Desktop.
#!/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