forked from Yelp/detect-secrets
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support build for tag * Fix docker image naming * Publish for master and dss * YAML format * Update docker tag in doc * Reword based on comment
- Loading branch information
1 parent
325bbb6
commit cfa7c20
Showing
3 changed files
with
51 additions
and
19 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
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,14 @@ | ||
#!/bin/bash -e | ||
|
||
script_name=$(basename $0) | ||
|
||
if [ $# -lt 2 ]; then | ||
echo "Usage: $script_name local_image_with_tag remote_image_with_tag" | ||
exit 1 | ||
fi | ||
|
||
LOCAL_IMAGE=$1 | ||
REMOTE_IAMGE=$2 | ||
|
||
docker tag $LOCAL_IMAGE $REMOTE_IAMGE | ||
docker push $REMOTE_IAMGE |
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