Skip to content

Commit

Permalink
Merge pull request #9794 from jpbetz/release-scripts-june
Browse files Browse the repository at this point in the history
scripts/release: Fix docker push for 3.1 releases, remove inaccurate warning at the end of release script
  • Loading branch information
gyuho authored May 31, 2018
2 parents 9ce3101 + e2821a1 commit 6d773ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ main() {
done
gcloud docker -- login -u _json_key -p "$(cat /etc/gcp-key-etcd-development.json)" https://gcr.io

docker push quay.io/coreos/etcd:${RELEASE_VERSION}
gcloud docker -- push gcr.io/etcd-development/etcd:${RELEASE_VERSION}
if [ "${MINOR_VERSION}" != "3.1" ]; then
for TARGET_ARCH in "-arm64" "-ppc64le" ""; do
for TARGET_ARCH in "-arm64" "-ppc64le"; do
docker push quay.io/coreos/etcd:${RELEASE_VERSION}${TARGET_ARCH}
gcloud docker -- push gcr.io/etcd-development/etcd:${RELEASE_VERSION}${TARGET_ARCH}
done
Expand Down Expand Up @@ -208,7 +210,6 @@ main() {
# TODO: signing process
echo ""
echo "WARNING: The release has not been signed and published to github. This must be done manually."
echo "WARNING: version/version.go has not been updated to ${RELEASE_VERSION}+git. This must be done manually."
echo ""
echo "Success."
exit 0
Expand Down

0 comments on commit 6d773ff

Please sign in to comment.