popito 0.0.9.alpha → 0.0.10.alpha

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
  SHA256:
3
- metadata.gz: 84308a2a22723f86a57f7c72dac4925610db61e155f07288378f086efd5de436
4
- data.tar.gz: f9f651cbe068cbc472dfbf093ff6e60f8c01a64f0434585baf811670581d629c
3
+ metadata.gz: c2fc1061ac67f009d45122c3b49ef62001422103e5e9796675661d2e424540e3
4
+ data.tar.gz: 102baa381c4eb750a4472bad4cf5e90406f4bff90d5949c0f66dfb47aef4f25b
5
5
  SHA512:
6
- metadata.gz: d7f5bddec397316c0dadbc2a0ca630d3666ecf3d3b139b0ae287e92a59080c684c5a825c8344db2e25ab155029e2d9358615477018d719d9b4ca4197282177f8
7
- data.tar.gz: 0707e25bfaeb58a5ffc2be76e2165ff07db4e06f278f540ac50da2b273025ed25c879b0529c9ba6c9423b8fabdd91a3904b811c477805e27cb8fc3508e3452c7
6
+ metadata.gz: 29e6afc9f90395bc4c8e23d01ad49ce630ba695f83acb4896ff1dfd9694aa2fc546e1a6833560e6dc66e1c893743777720f68cf825e01260021c086d5ae77b2f
7
+ data.tar.gz: e786dc93a51aef3e9880ddd9dbad07038f8402ae44d59fc72fb077983ac218bb6e354520a1a9c2c17fe0e554aad929e28c65072ee3ff2309453b74b794ecb3e2
data/.gitignore CHANGED
@@ -7,3 +7,5 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  *.gem
10
+ .byebug_history
11
+ _popito
@@ -20,9 +20,11 @@ module Popito
20
20
  def push_deployed_tag
21
21
  yaml_build_config["build"].each do |build|
22
22
  tag = build["tags"].first
23
- puts "Pushing #{build["image"]}:#{tag} to #{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}"
24
- system "docker image tag #{build["image"]}:#{tag} #{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}", exception: true
25
- system "docker push #{build["image"]}:popito-#{config_payload.build_config['ENVIRONMENT']}", exception: true
23
+ source = "#{build["image"]}:#{tag}"
24
+ target = "#{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}"
25
+ puts "Pushing #{source} to #{target}"
26
+ system "docker image tag #{source} #{target}", exception: true
27
+ system "docker push #{target}", exception: true
26
28
  end
27
29
  end
28
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Popito
4
- VERSION = "0.0.9.alpha"
4
+ VERSION = "0.0.10.alpha"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popito
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.alpha
4
+ version: 0.0.10.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wagner Caixeta