Sha256: 608f0a8a9f7a3a348d75d2a3b2d0bc15ba15931f4faf13892cd53ebfe2bd2638
Contents?: true
Size: 718 Bytes
Versions: 20
Compression:
Stored size: 718 Bytes
Contents
# frozen_string_literal: true # tau docker image uppdate module DockerImageUpdate # Backend method for docker image update. def docker_image_update return false unless docker_check_daemon cmd_docker_pull = _docker_image_update_cmd_docker_pull cmd_docker_remove_dangling = config.active['cmd_docker_image_update_docker_remove_dangling'] run_and_exit "#{cmd_docker_pull} && #{cmd_docker_remove_dangling}" end private # Prepare dpcker pull latest command. def _docker_image_update_cmd_docker_pull format( config.active['cmd_docker_image_update_docker_pull'], docker_user: @docker_user, docker_repo: @docker_repo, docker_tag: @docker_tag ) end end
Version data entries
20 entries across 20 versions & 1 rubygems