Skip to content

Commit

Permalink
过滤掉Python
Browse files Browse the repository at this point in the history
  • Loading branch information
llody55 committed Jul 5, 2024
1 parent 3ab9ca3 commit e005766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ echo " images:" >> images.yaml
# skopeo list-tags --tls-verify=false docker://docker.io/busybox | 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 > 27)) && /^[0-9.]+$/ {print " - " $0}' >> images.yaml
# echo " redis:" >> 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 " 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 " gitlab/gitlab-runner:" >> images.yaml
Expand Down

0 comments on commit e005766

Please sign in to comment.