Skip to content

Commit 14ceb2a

Browse files
committed
update
1 parent 34ce136 commit 14ceb2a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dry-stack (0.1.38)
4+
dry-stack (0.1.39)
55

66
GEM
77
remote: https://rubygems.org/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This gem allows ...
66
cat simple_stack.drs | dry-stack -e to_compose | docker stack deploy -c - simple_stack
77
88
$ dry-stack
9-
Version: 0.1.38
9+
Version: 0.1.39
1010
Usage:
1111
dry-stack -s stackfile [options] COMMAND
1212
cat stackfile | dry-stack COMMAND

lib/dry-stack/command_swarm_deploy.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def run(stack, params, args, extra)
5656
exec_i "docker --context #{name} config create #{stack.name}_readme -", stack.description
5757
deploy_status = 'deployed'
5858
ensure
59-
if ENV['DEPLOY_REGISTRY']
60-
deploy_registry = ENV['DEPLOY_REGISTRY']
59+
if ENV['DEPLOY_REGISTRY'] || ENV['CI_DEPLOY_REGISTRY']
60+
deploy_registry = ENV['DEPLOY_REGISTRY'] || ENV['CI_DEPLOY_REGISTRY']
6161
puts "Sending deploy status to #{deploy_registry}"
6262
data = {
6363
deploy_host: endpoint,

lib/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Dry
22
class Stack
3-
VERSION = '0.1.38'
3+
VERSION = '0.1.39'
44
end
55
end

0 commit comments

Comments
 (0)