2 small fixes (#56)
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ async function uploadManifest(
|
||||
)
|
||||
}
|
||||
|
||||
const digestResponseHeader = putResponse.headers['Docker-Content-Digest']
|
||||
const digestResponseHeader = putResponse.headers['docker-content-digest']
|
||||
if (digestResponseHeader === undefined) {
|
||||
throw new Error(
|
||||
`No digest header in response from PUT manifest ${manifestEndpoint}`
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ export async function run(pathInput: string): Promise<void> {
|
||||
|
||||
core.setOutput('package-url', packageURL.toString())
|
||||
core.setOutput('package-manifest', JSON.stringify(manifest))
|
||||
core.setOutput('package-manifest-sha', `sha256:${manifestDigest}`)
|
||||
core.setOutput('package-manifest-sha', manifestDigest)
|
||||
} catch (error) {
|
||||
// Fail the workflow run if an error occurs
|
||||
if (error instanceof Error) core.setFailed(error.message)
|
||||
|
||||
Reference in New Issue
Block a user