Sha256: 55b8b5554d0a33ff6d4bdf06572339db306cd256d382a94d7b543872e09d9f62
Contents?: true
Size: 513 Bytes
Versions: 48
Compression:
Stored size: 513 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' 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
48 entries across 48 versions & 1 rubygems