eiffel: Fix image name var and set harbor credentials
[infra/cicd.git] / jjb / eiffel / scripts / eiffel-container-build-tag-push.sh
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"