Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
artyomb committed Oct 8, 2024
1 parent ad46ab3 commit 5e02c2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dry-stack (0.1.18)
dry-stack (0.1.19)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This gem allows ...
cat simple_stack.drs | dry-stack -e to_compose | docker stack deploy -c - simple_stack
$ dry-stack
Version: 0.1.18
Version: 0.1.19
Usage:
dry-stack -s stackfile [options] COMMAND
cat stackfile | dry-stack COMMAND
Expand Down
2 changes: 1 addition & 1 deletion lib/dry-stack/command_swarm_deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def run(stack, params, args, extra)
# system " echo \"#{yaml.gsub("`", '\\\`')}\" | docker stack deploy -c - #{stack.name} --prune --resolve-image changed"

# --prune --resolve-image changed
exec_i "docker stack deploy -c - --with-registry-auth #{extra}" #{stack.name} , yaml
exec_i "docker stack deploy -c - --with-registry-auth #{extra} #{stack.name}" , yaml
system "docker config rm $(docker config ls --filter label=com.docker.stack.namespace=#{stack.name} --format \"{{.ID}}\")"

exec_i "docker config rm #{stack.name}_readme || echo 'failed to remove config #{stack.name}_readme'"
Expand Down
2 changes: 1 addition & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Dry
class Stack
VERSION = '0.1.18'
VERSION = '0.1.19'
end
end

0 comments on commit 5e02c2e

Please sign in to comment.