Sha256: 8cfdf5bf648a3e552c9c4da6dd0e7c3e25976af23cd68abb6968ddfeaa9e91d0
Contents?: true
Size: 558 Bytes
Versions: 44
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true # tau docker image tag latest module DockerImageTagLatest # Backend method for docker image tag latest. # @return [String] latest docker image tag def docker_image_tag_latest log.debug 'Getting latest docker image tag' return false unless docker_check_daemon tags = docker_image_tag_list tag_latest = if tags.include? 'latest' 'latest' else tags[-1] end log.debug "Latest docker tag: #{tag_latest}" tag_latest end end
Version data entries
44 entries across 44 versions & 1 rubygems