File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22source common.sh
33platforms=" ${PLATFORMS:- linux/ amd64,linux/ arm64} "
4- docker-tags rockylinux |
4+ docker-tags rockylinux/rockylinux |
55while read tag; do
66 dockerfile=$( mktemp)
77 cat << EOF > $dockerfile
8- FROM rockylinux:$tag
8+ FROM rockylinux/rockylinux :$tag
99RUN sed -i \
1010 -e 's/mirrorlist/#mirrorlist/g' \
1111 -e 's/#baseurl/baseurl/g' \
Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ parse-tags-js() {
1919}
2020docker-tags (){
2121 is_empty=false
22- image=" library/$1 "
22+ if [[ " $1 " == * /* ]]; then
23+ image=" $1 "
24+ else
25+ image=" library/$1 "
26+ fi
2327 page_url=" https://registry.hub.docker.com/v2/repositories/${image} /tags/"
2428 while [[ -n " $page_url " && " $page_url " != " null" && " $is_empty " != " true" ]]
2529 do
You can’t perform that action at this time.
0 commit comments