Look up image name and show it also
This commit is contained in:
parent
1dd3fe6fcd
commit
9b90712d28
3
abra
3
abra
@ -504,7 +504,8 @@ output_version_summary() {
|
||||
live_version=$(echo "$label" | cut -d- -f1)
|
||||
live_digest=$(echo "$label" | cut -d- -f2)
|
||||
if [ -n "$live_version" ] && [ -n "$live_digest" ]; then
|
||||
echo " ${STACK_NAME}_${SERVICE}:"
|
||||
image=$($YQ e ".services.${SERVICE}.image" "${APP_DIR}/${COMPOSE}" | cut -d':' -f1)
|
||||
echo " ${STACK_NAME}_${SERVICE} (${image}):"
|
||||
echo " deployed: $(tput setaf 2)$live_version ($live_digest)$(tput sgr0)"
|
||||
app_version_lookup="ABRA_TYPE_${SERVICE^^}_VERSION"
|
||||
app_version=${!app_version_lookup}
|
||||
|
Reference in New Issue
Block a user