eiffel: Fix image name var and set harbor credentials 69/6169/1
authorFatih Degirmenci <fatih.degirmenci@est.tech>
Mon, 5 Oct 2020 11:54:59 +0000 (11:54 +0000)
committerFatih Degirmenci <fatih.degirmenci@est.tech>
Mon, 5 Oct 2020 11:54:59 +0000 (11:54 +0000)
Change-Id: I3aa6ae85b3dc2d09402eb1b9e38885ae91bdf1b8

jjb/eiffel/global-eiffel-container-build.yaml
jjb/eiffel/scripts/eiffel-container-build-tag-push.sh

index 9c01b26b93484ff37781547618aff1ef28363164..cf2880096aeef09037b661bc56c185dd18801575 100644 (file)
@@ -94,6 +94,7 @@
     wrappers:
       - build-timeout:
           timeout: 10
+      - nordixinfra-harbor-creds-wrapper
       - mask-passwords
       - openstack:
           single-use: True
index b2ea4b377e2aa1330515a52e6ff9b62c60628561..26049e296300db2e1409c8c9e402ddc064ad8880 100644 (file)
@@ -32,7 +32,7 @@ IMAGE_TAG="latest"
 IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
 
 # set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME ."
+PODMAN_BUILD_CMD="podman build --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
 
 echo "Info  : Building the container image with the command"
 echo "        $PODMAN_BUILD_CMD"