instance method
validate_image
Ruby on Rails 2.2.2
Since v1.9.3 Last seen in v2.11.0Signature
validate_image()
No documentation comment.
Source
# File lib/kamal/commands/builder/base.rb, line 47
def validate_image
pipe \
docker(:inspect, "-f", "'{{ .Config.Labels.service }}'", config.absolute_image),
any(
[ :grep, "-x", config.service ],
"(echo \"Image #{config.absolute_image} is missing the 'service' label\" && exit 1)"
)
end
Defined in lib/kamal/commands/builder/base.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kamal::Commands::Builder::Base