Skip to content

Commit

Permalink
WIP tag checker
Browse files Browse the repository at this point in the history
  • Loading branch information
fabn committed Jul 12, 2019
1 parent 5b44311 commit 25ae901
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions exe/rancher-deployer
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@

require 'rancher_deployer'

deployer = RancherDeployer::Deployer.new
deployer.deploy!
action = ENV.fetch('PLUGIN_ACTION', 'deploy').to_sym

case action
when :deploy
deployer = RancherDeployer::Deployer.new
deployer.deploy!
when :tag_check
tag_checker = RancherDeployer::TagChecker.new
tag_checker.check!
end

0 comments on commit 25ae901

Please sign in to comment.