Sha256: f3e4bd3040f376a1b13cb58730499a33746b9a43eef4b0a0c119d84c59391985

Contents?: true

Size: 467 Bytes

Versions: 6

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

# takeltau docker image tag list
module DockerImageTagList
  # Backend method for docker image tag list.
  # @return [Array] docker image tags
  def docker_image_tag_list
    cmd_docker_tags =
      format(
        config.active['cmd_docker_image_tag_list_docker_images'],
        docker_user: @docker_user,
        docker_repo: @docker_repo
      )

    tags = (run cmd_docker_tags).split("\n")

    VersionSorter.sort(tags)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
takeltau-0.34.15 lib/takeltau/docker/image/tag/list.rb
takeltau-0.34.14 lib/takeltau/docker/image/tag/list.rb
takeltau-0.34.13 lib/takeltau/docker/image/tag/list.rb
takeltau-0.34.12 lib/takeltau/docker/image/tag/list.rb
takeltau-0.34.11 lib/takeltau/docker/image/tag/list.rb
takeltau-0.34.9 lib/takeltau/docker/image/tag/list.rb