forked from DiUS/pact_broker-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add manual docker push script
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# Ripped from https://gist.github.com/didip/ff5088fd023624aba7c0 | ||
|
||
set -ex | ||
|
||
IMAGE_NAME="dius/pact-broker" | ||
TAG=$(script/next-docker-tag.sh) | ||
|
||
docker pull ${IMAGE_NAME} | ||
docker build -t ${IMAGE_NAME}:${TAG} . | ||
# docker tag ${IMAGE_NAME}:${TAG} ${IMAGE_NAME}:latest | ||
docker push ${IMAGE_NAME}:${TAG} |
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
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