Skip to content

Commit

Permalink
fixing docker hub API pagination issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dockerfile-generator committed Jun 19, 2024
1 parent 9680b64 commit 6171d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.nu
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def "github-release" (release_name: string@release-names) {
}

def "cloud-sdk-release" () {
let latest_release = http get 'https://registry.hub.docker.com/v2/repositories/google/cloud-sdk/tags' | get results | where name =~ '.*-alpine$' | get 0
let latest_release = http get 'https://registry.hub.docker.com/v2/namespaces/google/repositories/cloud-sdk/tags?page_size=30' | get results | where name =~ '.*-alpine$' | get 0
{
image_tag: $latest_release.name
published_at: $latest_release.tag_last_pushed
Expand Down

0 comments on commit 6171d83

Please sign in to comment.