From 339e682c212a17de4c30610a6eacba67af0d82c3 Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Wed, 11 Dec 2019 21:57:07 -0500 Subject: [PATCH] Add two digit release variable Signed-off-by: Brett Logan --- ci/scripts/publish_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/publish_docker.sh b/ci/scripts/publish_docker.sh index e5bdcf1c2d4..4be4e68d1d9 100755 --- a/ci/scripts/publish_docker.sh +++ b/ci/scripts/publish_docker.sh @@ -15,5 +15,5 @@ for image in baseos peer orderer ccenv tools; do docker push "hyperledger/fabric-${image}:amd64-${RELEASE}" ./manifest-tool push from-args --platforms linux/amd64 --template "hyperledger/fabric-${image}:amd64-${RELEASE}" --target "hyperledger/fabric-${image}:${RELEASE}" - ./manifest-tool push from-args --platforms linux/amd64 --template "hyperledger/fabric-${image}:amd64-${RELEASE}" --target "hyperledger/fabric-${image}:$(sed 's/..$//' <<< ${RELEASE})" + ./manifest-tool push from-args --platforms linux/amd64 --template "hyperledger/fabric-${image}:amd64-${RELEASE}" --target "hyperledger/fabric-${image}:${TWO_DIGIT_RELEASE}" done