Skip to content
Snippets Groups Projects
Commit 0ec5baa8 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Get packer image repo HEAD hash

parent 0ff87872
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ build_image:
- export CRI_XCBC_prod=$(git rev-parse --short origin/uab-prod)
- cd ..
- echo CRI_XCBC_HEAD=${CRI_XCBC_HEAD} | tee -a $CI_PROJECT_DIR/image.env
- export PACKER_IMAGE_HEAD=$(git rev-parse --short HEAD)
- export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
- echo BUILD_DATE=${BUILD_DATE} | tee -a $CI_PROJECT_DIR/image.env
- >
......
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