Skip to content

Commit

Permalink
Add accept header to manifest check (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin authored Apr 15, 2024
1 parent e28b72f commit 05a01a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/trigger_workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const imageExists = async (version) => {
const token = await getToken();
const req = await fetch(`https://ghcr.io/v2/popsql/prestodb-sandbox/manifests/${version}`, {
headers: {
Accept: 'application/vnd.oci.image.index.v1+json',
Authorization: `Bearer ${token}`
}
});
Expand Down

0 comments on commit 05a01a0

Please sign in to comment.