We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cde0091 + 049e0e5 commit c485927Copy full SHA for c485927
rhtap/buildah-rhtap.sh
@@ -7,14 +7,7 @@ source $SCRIPTDIR/common.sh
7
8
function login() {
9
echo "Running $TASK_NAME:login"
10
- IMAGE_REGISTRY="${IMAGE%%/*}"
11
- prepare-registry-user-pass $IMAGE_REGISTRY
12
- buildah login --username="$IMAGE_REGISTRY_USER" --password="$IMAGE_REGISTRY_PASSWORD" $IMAGE_REGISTRY
13
- ERR=$?
14
- if [ $ERR != 0 ]; then
15
- echo "Failed buildah login $IMAGE_REGISTRY for user $IMAGE_REGISTRY_USER "
16
- exit $ERR
17
- fi
+ registry-login "$IMAGE"
18
}
19
20
function build() {
0 commit comments