Skip to content

Commit

Permalink
新增docker
Browse files Browse the repository at this point in the history
  • Loading branch information
llody55 committed Jul 5, 2024
1 parent 8c07b99 commit 6c9ffb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ echo " images:" >> images.yaml
# skopeo list-tags --tls-verify=false docker://redis | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | awk -F '.' '$1 >= 5 && /^[0-9.]+$/ {print " - " $0}' >> images.yaml
# echo " python:" >> images.yaml
# skopeo list-tags --tls-verify=false docker://python | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | awk -F '.' '($1 > 3 || ($1 == 3 && $2 > 7)) && /^[0-9.]+$/ {print " - " $0}' >> images.yaml
echo " golang:" >> images.yaml
skopeo list-tags --tls-verify=false docker://golang | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | awk -F '.' '($1 > 1 || ($1 == 1 && $2 > 17)) && /^[0-9.]+$/ {print " - " $0}' >> images.yaml
# echo " golang:" >> images.yaml
# skopeo list-tags --tls-verify=false docker://golang | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | awk -F '.' '($1 > 1 || ($1 == 1 && $2 > 17)) && /^[0-9.]+$/ {print " - " $0}' >> images.yaml
echo " gitlab/gitlab-runner:" >> images.yaml
skopeo list-tags --tls-verify=false docker://gitlab/gitlab-runner | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | awk -F '[v.]' '$2 >= 14 {print " - " $0}' >> images.yaml
echo " docker:" >> images.yaml
skopeo list-tags --tls-verify=false docker://docker | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-'| awk -F '"' '{print $2}' | awk -F '.' '$1 >= 20 {print " - " $0}' >> images.yaml
echo " traefik:" >> images.yaml
skopeo list-tags --tls-verify=false docker://traefik | grep -v alpha | grep -v beta | grep -v rc | grep -v amd64 | grep -v ppc64le | grep -v arm64 | grep -v arm | grep -v s390x | grep -v SNAPSHOT | grep -v debug | grep -v master | grep -v main | grep -v \} | grep -v \] | grep -v \{ | grep -v Repository | grep -v Tags | grep -v dev | grep -v g | grep -v '-' | awk -F '"' '{print $2}' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | awk -F '[v.]' '$2 >= 2 {print " - " $0}' >> images.yaml
echo " kylemanna/openvpn:" >> images.yaml
Expand Down

0 comments on commit 6c9ffb8

Please sign in to comment.