Skip to content

Commit

Permalink
upgrade docker/dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Aug 6, 2024
1 parent 6671d17 commit a4f1e8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ source_images=(
"golang:1.22.5-bookworm"

# docker syntax
docker/dockerfile:1.7-labs
docker/dockerfile:1.9-labs
)

for source_image in "${source_images[@]}"; do
# replaces slashes in images names with dashes
target_image_name=$(echo "${source_image}" | tr '/' '-')
crane copy "${source_image}" "${target_registry}/${target_image_name}"
done
done

0 comments on commit a4f1e8d

Please sign in to comment.