Sha256: 7eed8255cc98e2b888725bd8b55e66c84627e2674be20ebae1df0579fa80fbc8

Contents?: true

Size: 351 Bytes

Versions: 44

Compression:

Stored size: 351 Bytes

Contents

docker_pull() {
  repo=<%= data[:repo] %>
  tag=<%= data[:tag] %>
  docker pull $repo:$tag
}

worked=1
for attempt in {1..200}; do
  [[ $worked != 0 ]] || break
  docker_pull && worked=0 || (log "fetch: attempt $attempt failed, sleeping 30"; sleep 30)
done
[[ $worked != 0 ]] && fatal "failed to import image"
log "fetch: successfully imported image"

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
dockly-4.4.1 snippets/registry_import.erb
dockly-4.4.0 snippets/registry_import.erb
dockly-4.3.0 snippets/registry_import.erb
dockly-4.2.0 snippets/registry_import.erb
dockly-4.1.0 snippets/registry_import.erb
dockly-4.0.0 snippets/registry_import.erb
dockly-3.4.1 snippets/registry_import.erb
dockly-3.4.0 snippets/registry_import.erb
dockly-3.3.0 snippets/registry_import.erb
dockly-3.2.0.pre.1 snippets/registry_import.erb
dockly-3.1.1 snippets/registry_import.erb
dockly-3.1.0 snippets/registry_import.erb
dockly-3.0.5 snippets/registry_import.erb
dockly-3.0.4 snippets/registry_import.erb
dockly-3.0.3 snippets/registry_import.erb
dockly-3.0.2 snippets/registry_import.erb
dockly-3.0.1 snippets/registry_import.erb
dockly-3.0.0 snippets/registry_import.erb
dockly-2.7.2 snippets/registry_import.erb
dockly-2.7.1 snippets/registry_import.erb