|
|
@@ -163,14 +163,23 @@ main() {
|
|
|
done
|
|
|
gcloud docker -- login -u _json_key -p "$(cat /etc/gcp-key-etcd-development.json)" https://gcr.io
|
|
|
|
|
|
+ echo "Pushing container images to quay.io" ${RELEASE_VERSION}
|
|
|
docker push quay.io/coreos/etcd:${RELEASE_VERSION}
|
|
|
+
|
|
|
+ echo "Pushing container images to gcr.io" ${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
|
|
|
+ echo "Pushing container images to quay.io" ${RELEASE_VERSION}${TARGET_ARCH}
|
|
|
docker push quay.io/coreos/etcd:${RELEASE_VERSION}${TARGET_ARCH}
|
|
|
+
|
|
|
+ echo "Pushing container images to gcr.io" ${RELEASE_VERSION}${TARGET_ARCH}
|
|
|
gcloud docker -- push gcr.io/etcd-development/etcd:${RELEASE_VERSION}${TARGET_ARCH}
|
|
|
done
|
|
|
fi
|
|
|
+
|
|
|
+ echo "Setting permissions using gsutil..."
|
|
|
gsutil -m acl ch -u allUsers:R -r gs://artifacts.etcd-development.appspot.com
|
|
|
|
|
|
# TODO: upload minor versions: v3.1, v3.2, v3.3, etc.
|