Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Fix docker login #888

Merged
merged 1 commit into from
Aug 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ function release {
notes="NOTES.md"
echo "Building and releasing $tag..."
echo "Pushing docker image..."
echo ${DOCKER_PASS} | docker login --username ${DOCKER_USER} ${DOCKER_REPO} --password-stdin

echo ${DOCKER_PASS} | docker login --username ${DOCKER_USER} --password-stdin
docker push ${DOCKER_REPO}
echo "Building and pushing binaries"
[[ -e "$notes" ]] && goreleaser --release-notes "$notes" || goreleaser
}
Expand Down