We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69b94f6 commit e026f00Copy full SHA for e026f00
1 file changed
lib/metadata.bash
@@ -56,6 +56,12 @@ function set_prebuilt_image() {
56
local service="$2"
57
local image="$3"
58
59
+ # assumes that the lib/shared.bash has already been sourced
60
+ if [ "$(plugin_read_config PUSH_METADATA "true")" != "true" ]; then
61
+ plugin_prompt "Not setting metadata for prebuilt image, push-metadata option is set to false"
62
+ return 0
63
+ fi
64
+
65
plugin_set_metadata "$namespace" "$(prebuilt_image_meta_data_key "$service")" "$image"
66
}
67
0 commit comments