Skip to content

Commit

Permalink
Fixing release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Bleul committed Oct 6, 2018
1 parent f369469 commit 2581c3b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions buildscripts/releaseSupportedAlpineImages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,10 @@ source $CUR_DIR/release.sh
readonly PUSH_REPOSITORY=$1
readonly PUSH_IMAGE_VERSION=$IMAGE_VERSION

function retagImage() {
local tagname=$1
local repository=$2
docker tag -f blacklabelops/logrotate:$tagname $repository/blacklabelops/logrotate:$tagname
}

function pushImage() {
local tagname=$1
local repository=$2
if [ "$repository" != 'docker.io' ]; then
retagImage $tagname $repository
fi

docker push $repository/blacklabelops/logrotate:$tagname
}

Expand Down

0 comments on commit 2581c3b

Please sign in to comment.