Commit 5ec1725d authored by Raphael Defosseux's avatar Raphael Defosseux
parent 123fa6a4
......@@ -157,7 +157,7 @@ pipeline {
// If not satisfactory, we can remove it.
sh "python3 ./ci-scripts/flatten_image.py --tag oai-amf:${amf_tag}"
sh "docker image prune --force"
sh "docker image ls >> archives/amf_docker_image_build.log"
sh "docker image ls | egrep --color=never 'amf|REPOSITORY' >> archives/amf_docker_image_build.log"
// Pushing to local private registry for testing purpose
sh "docker login -u oaicicd -p oaicicd ${PrivateRegistryURL}"
sh "docker image tag oai-amf:${amf_tag} ${PrivateRegistryURL}/oai-amf:${amf_tag}"
......@@ -196,7 +196,7 @@ pipeline {
// Building
sh "sudo podman build --no-cache --squash --target oai-amf --tag oai-amf:${amf_tag} --file docker/Dockerfile.amf.rhel8 --format docker . > archives/amf_podman_image_build.log 2>&1"
sh "sudo podman image prune --force"
sh "sudo podman image ls >> archives/amf_podman_image_build.log"
sh "sudo podman image ls | egrep --color=never 'amf|REPOSITORY' >> archives/amf_podman_image_build.log"
}
}
}
......
......@@ -817,7 +817,7 @@ class HtmlReport():
if os.path.isfile(cwd + '/archives/' + logFileName):
if nfType == 'AMF':
if variant == 'docker':
section_start_pattern = 'naming to docker.io/library/oai-smf:'
section_start_pattern = 'naming to docker.io/library/oai-amf:'
section_end_pattern = 'OAI-AMF DOCKER IMAGE BUILD'
else:
section_start_pattern = 'COMMIT oai-amf:'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment