Improve release scripts:

- Fix script that creates manifest-list based multi-arch-images.
    The images need to be pushed first.
  - Use docker instead of gcloud docker helper
  - Make sure docker pushes are properly 'dry run'
  - Added preparation instruction to the release script.
This commit is contained in:
Piotr Tabor
2021-02-25 11:56:17 +00:00
parent d4d2b80608
commit 60a669762f
2 changed files with 34 additions and 18 deletions

View File

@ -5,7 +5,7 @@ set -e
source ./scripts/test_lib.sh
VER=$1
REPOSITORY="${REPOSITORY:-https://github.com/etcd-io/etcd}"
REPOSITORY="${REPOSITORY:-git@github.com:etcd-io/etcd.git}"
if [ -z "$1" ]; then
@ -56,7 +56,7 @@ function package {
}
function main {
local proj=$(echo "${REPOSITORY}" | sed 's|^.*/\([^/]*\)$|\1|g')
local proj="etcd"
mkdir -p release
cd release