diff --git a/bin/compose-core b/bin/compose-core index a63ace8..5416e72 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -5304,6 +5304,13 @@ while read-0 arg; do exit 0 ;; --get-available-actions) + COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 + COMPOSE_YML_CONTENT=$(get_compose_yml_content) || exit 1 + COMPOSE_YML_CONTENT_HASH=$(compose:yml:hash) || exit 1 + CHARM_STORE_HASH=$(charm.store_metadata_hash) || exit 1 + COMBINED_HASH=$(H "$COMPOSE_YML_CONTENT_HASH" "$CHARM_STORE_HASH") || exit 1 + export COMPOSE_YML_FILE COMPOSE_YML_CONTENT COMPOSE_YML_CONTENT_HASH CHARM_STORE_HASH COMBINED_HASH + get_docker_charm_action exit $? ;;