class Fastlane::Actions::DockerPushAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/docker/actions/docker_push.rb, line 13 def self.available_options [ FastlaneCore::ConfigItem.new(key: :repository, description: "The repository to upload", default_value: Actions.lane_context[SharedValues::DOCKER_BUILT_REPO]), FastlaneCore::ConfigItem.new(key: :tag, description: "The tag to upload", default_value: Actions.lane_context[SharedValues::DOCKER_BUILT_TAG]) ] end
description()
click to toggle source
# File lib/fastlane/plugin/docker/actions/docker_push.rb, line 9 def self.description "Push a docker image to its' repository" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/docker/actions/docker_push.rb, line 28 def self.is_supported?(platform) true end
run(params)
click to toggle source
# File lib/fastlane/plugin/docker/actions/docker_push.rb, line 4 def self.run(params) UI.message "Pushing docker image..." DockerClient.new.push(params[:repository], tag: params[:tag]) end