eb-docker-deploy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f68a6c2c8321ba04aef5cc495f3c222426ba79e
4
- data.tar.gz: a359d87ba39f81684ab20716e7dba74d4fc028fe
3
+ metadata.gz: 6379c4f12298a7d09eedf590919db0fce8aebff4
4
+ data.tar.gz: 11f9698d837b65612ee6903f24650ca6087c1eb3
5
5
  SHA512:
6
- metadata.gz: 13ca05ef844c7b056ef8f9a06a3aa8210f2df262cc6306cb44b1c7e6c9aae68334f88faf6b3e3a9f08dde420620df69bc3015eb6085bfcc22ad6fe2aedbc7558
7
- data.tar.gz: 577efa94dd40a64698cb2b481b5b126255fa4d2a339ea665b1d930093b26358e7e2758baf6e420a221d01a343c7caf3cb4edfacd6e5c77bc0a2cabcca1812f8f
6
+ metadata.gz: e80b3f3b97a8abcd1a5ea4ee00c1a7a9338c70ff74d2cb17437e794f34256fd27af29c7cee5c5cbf4a372942ce9bfd4da151f7bae3562c744a2e5a5511a383c0
7
+ data.tar.gz: 8f02a0def96b98042676cad4246d05faff2e6563bd6e0723f4dc7521c337db306fc25883fc42d6a9c66a11b94572b9cb30d589cc21ec6909478d8b27c2f49db9
@@ -20,10 +20,17 @@ module Deploy
20
20
  command = "docker build -t #{repo}:#{version} ."
21
21
  system(command)
22
22
 
23
- shout 'Tagging Docker Image'
23
+ shout 'Tagging Latest Docker Image'
24
24
  command = "docker tag -f #{repo}:#{version} #{repo}:latest"
25
25
  system(command)
26
26
 
27
+ shout "Pushing Docker Image: #{repo}:#{version}"
28
+ command = "docker push #{repo}:#{version}"
29
+ system(command)
30
+ shout "Pushing Docker Image: #{repo}:latest"
31
+ command = "docker push #{repo}:latest"
32
+ system(command)
33
+
27
34
  #command = "eb deploy -l #{version}"
28
35
  #system(command)
29
36
  end
@@ -1,3 +1,3 @@
1
1
  module Deploy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb-docker-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim
@@ -66,7 +66,6 @@ files:
66
66
  - README.md
67
67
  - Rakefile
68
68
  - bin/eb-deploy
69
- - eb-docker-deploy-0.0.1.gem
70
69
  - eb-docker-deploy.gemspec
71
70
  - lib/deploy.rb
72
71
  - lib/deploy/deployer.rb
Binary file