Skip to content

Commit

Permalink
Test using new digest API with arch and os parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Dewald committed Jul 19, 2023
1 parent 65df421 commit 4bd1174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/lib/dependabot/docker/update_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def digest_of(tag)
end

def fetch_digest_of(tag)
docker_registry_client.digest(docker_repo_name, tag)&.delete_prefix("sha256:")
docker_registry_client.digest(docker_repo_name, tag, "amd64", "linux")&.delete_prefix("sha256:")
rescue *transient_docker_errors => e
attempt ||= 1
attempt += 1
Expand Down

0 comments on commit 4bd1174

Please sign in to comment.