Class: Kubes::Docker::Strategy::Build::Gcloud
- Defined in:
- lib/kubes/docker/strategy/build/gcloud.rb
Instance Method Summary collapse
Methods inherited from Base
#check_dockerfile!, #initialize, #run
Methods included from Hooks::Concern
Methods included from ImageName
#args, #custom, #default, #generate_name, #git_sha, #image_name, #image_state_path, #read_image_name, #repo, #reserve_image_name, #store_image_name
Methods included from Util::Time
Methods included from Util::Sh
Methods included from Logging
Constructor Details
This class inherits a constructor from Kubes::Docker::Strategy::Build::Base
Instance Method Details
#perform ⇒ Object
3 4 5 6 7 8 |
# File 'lib/kubes/docker/strategy/build/gcloud.rb', line 3 def perform command = "gcloud builds submit --tag #{@@image_name}" run_hooks("docker.rb", name: "build") do sh(command) end end |