Class: Phase::Deploy::Build
- Inherits:
-
Object
- Object
- Phase::Deploy::Build
- Defined in:
- lib/phase/kit/deploy/build.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#version_tag ⇒ Object
readonly
Returns the value of attribute version_tag.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(version_tag) ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize(version_tag) ⇒ Build
Returns a new instance of Build.
7 8 9 |
# File 'lib/phase/kit/deploy/build.rb', line 7 def initialize(version_tag) @version_tag = version_tag end |
Instance Attribute Details
#version_tag ⇒ Object (readonly)
Returns the value of attribute version_tag.
5 6 7 |
# File 'lib/phase/kit/deploy/build.rb', line 5 def version_tag @version_tag end |
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 |
# File 'lib/phase/kit/deploy/build.rb', line 11 def execute build_image tag_latest_image push end |