Skip to content
Snippets Groups Projects
Commit d39faf83 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

added the BUILD_TAG to the build_ood_image

parent 7f1c6fb8
No related branches found
No related tags found
No related merge requests found
Pipeline #14679 failed with stage
in 2 minutes and 15 seconds
...@@ -186,7 +186,7 @@ build_ood_image: ...@@ -186,7 +186,7 @@ build_ood_image:
- export PKR_VAR_flavor="${OOD_BUILD_FLAVOR:-$PKR_VAR_flavor}" - export PKR_VAR_flavor="${OOD_BUILD_FLAVOR:-$PKR_VAR_flavor}"
- export PKR_VAR_build_instance_name="${BUILD_TARGET}-${EXT_REPO_HEAD}" - export PKR_VAR_build_instance_name="${BUILD_TARGET}-${EXT_REPO_HEAD}"
- export PKR_VAR_image_date_suffix=false - export PKR_VAR_image_date_suffix=false
- export PKR_VAR_image_name="${BUILD_TARGET}-${BUILD_DATE}" - export PKR_VAR_image_name="${BUILD_TARGET}-${BUILD_TAG:-${BUILD_DATE}}"
- | - |
if [ $ENV = 'knightly' ] || [ $ENV = 'prod' ]; then if [ $ENV = 'knightly' ] || [ $ENV = 'prod' ]; then
curl --header "PRIVATE-TOKEN: ${ANSIBLE_VAR_TOKEN}" \ curl --header "PRIVATE-TOKEN: ${ANSIBLE_VAR_TOKEN}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment