You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the Push manifest target to check digest value (#807)
* Updated the makefile to fix build issue
* Added new file to test digest
* Updated the digest param names
* Updated the copyright version
* Updated file to add args
# Licensed under the Apache License, Version 2.0 (the "License");
6
+
# you may not use this file except in compliance with the License.
7
+
# You may obtain a copy of the License at
8
+
#
9
+
# http://www.apache.org/licenses/LICENSE-2.0
10
+
#
11
+
# Unless required by applicable law or agreed to in writing, software
12
+
# distributed under the License is distributed on an "AS IS" BASIS,
13
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+
# See the License for the specific language governing permissions and
15
+
# limitations under the License.
16
+
17
+
RED="\033[31m"
18
+
END="\033[0m"
19
+
ERROR=${RED}
20
+
21
+
whilegetopts r:n:i: flag
22
+
do
23
+
case"${flag}"in
24
+
r) AMD64_DIGEST=${OPTARG};;
25
+
n) S390X_DIGEST=${OPTARG};;
26
+
i) PPC64LE_DIGEST=${OPTARG};;
27
+
28
+
esac
29
+
done
30
+
31
+
if [[ -z"$AMD64_DIGEST"||-z"$S390X_DIGEST"||-z"$PPC64LE_DIGEST" ]];then
32
+
printf"${ERROR}Ensure all three architecture images are successfully obtained and build should be completed successfully if not restart the affected architecture builds to ensure all images are built successfully before pushing the manifest.${END}\n"
0 commit comments