We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c357c75 commit b01b6acCopy full SHA for b01b6ac
1 file changed
rootfs/imagebuilder/build
@@ -90,6 +90,7 @@ else
90
fi
91
92
# Get image name and image tag
93
+drycc_app=$(echo "${IMAGE_NAME}" | awk -F '/' '{print $NF}' | awk -F ':' '{print $1}')
94
image_tag=$(echo "${IMAGE_NAME}" | awk -F ':' '{print $NF}')
95
image_base_name=$(echo "${IMAGE_NAME}" | sed -s "s#:${image_tag}##g")
96
image_cache_name="${image_base_name}":cache
@@ -114,6 +115,7 @@ else
114
115
116
pack_build="pack build ${IMAGE_NAME} \
117
--builder ${pack_builder} \
118
+ --env DRYCC_APP=${drycc_app} \
119
--docker-host ${DOCKER_HOST} \
120
--previous-image ${image_latest_name} \
121
--publish \
0 commit comments