File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,17 @@ jobs:
2424 run : |
2525 # Get all container images and
2626 # exclude 'geti/helm/' packages from the list of container packages for source collection
27- PACKAGES=$(gh api -H "Accept: application/vnd.github.v3+json" \
27+ PACKAGES=$(gh api --paginate - H "Accept: application/vnd.github.v3+json" \
2828 /orgs/open-edge-platform/packages?package_type=container \
29- --jq '.[].name' 2>/dev/null | awk '/^geti\// && !/^geti\/helm\//' )
29+ --jq '.[].name' 2>/dev/null | awk '/^geti\// && !/^geti\/helm\// && !/^geti\/builders\//' | sort )
3030
3131 # Retrieve container images with specified input tag
3232 for PACKAGE in $PACKAGES; do
3333 echo "Processing package: $PACKAGE"
3434 TMP_NAME=$(sed 's/\//%2F/g' <<< "$PACKAGE")
35- VERSION=$(gh api -H "Accept: application/vnd.github.v3+json" \
35+ VERSION=$(gh api --paginate - H "Accept: application/vnd.github.v3+json" \
3636 /orgs/open-edge-platform/packages/container/$TMP_NAME/versions \
37- --jq '.[].metadata.container.tags[]' 2>/dev/null | grep -w "$TAG" || true)
37+ --jq '.[].metadata.container.tags[]' 2>/dev/null | grep -x "$TAG" || true)
3838
3939 if [ -n "$VERSION" ]; then
4040 IMAGE_URI="ghcr.io/open-edge-platform/$PACKAGE:$TAG"
You can’t perform that action at this time.
0 commit comments