Sha256: 92b845984ce6b0c0d4243c560a213c5843f9095004c6d20411e9a013d583c8b9
Contents?: true
Size: 986 Bytes
Versions: 12
Compression:
Stored size: 986 Bytes
Contents
# takelage docker image tag latest module module DockerImageTagLatestModule # Backend method for docker image tag latest local. # @return [String] latest local docker image tag def docker_image_tag_latest_local log.debug "Getting latest local docker image tag" return false unless docker_check_running tags = docker_image_tag_list_local tag_latest_local = tags[-1] log.debug "Latest docker local tag: #{tag_latest_local}" tag_latest_local end # Backend method for docker image tag latest remote. # @return [String] latest remote docker image tag def docker_image_tag_latest_remote log.debug "Getting latest remote docker image tag" return false unless docker_check_running tags = docker_image_tag_list_remote if tags.nil? log.warn "No latest docker remote tag" return '' end tag_latest_remote = tags[-1] log.debug "Latest docker remote tag: #{tag_latest_remote}" tag_latest_remote end end
Version data entries
12 entries across 12 versions & 1 rubygems