diff --git a/dist/index.js b/dist/index.js index b1c56d5..3f14c29 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74816,7 +74816,7 @@ function stageActionFiles(actionDir, targetDir) { actionYmlFound = true; } // Filter out hidden folers like .git and .github - return !basename.startsWith('.'); + return basename === '.' || !basename.startsWith('.'); } }); if (!actionYmlFound) { @@ -74992,7 +74992,7 @@ async function uploadManifest(manifestJSON, manifestEndpoint, b64Token) { if (putResponse.status !== 201) { throw new Error(`Unexpected response from PUT manifest ${putResponse.status}`); } - 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}`); } @@ -75114,7 +75114,7 @@ async function run(pathInput) { const { packageURL, manifestDigest } = await ghcr.publishOCIArtifact(token, containerRegistryURL, repository, semanticVersion.raw, archives.zipFile, archives.tarFile, manifest, true); 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