Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with signing keys #1313

Closed
3 tasks done
roger-mdisrupt opened this issue Feb 4, 2025 · 2 comments
Closed
3 tasks done

Issue with signing keys #1313

roger-mdisrupt opened this issue Feb 4, 2025 · 2 comments

Comments

@roger-mdisrupt
Copy link

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

Seeing this issue in the last couple of days, is there a recommended fix please ? :

#9 [builder 2/7] RUN corepack enable
#9 DONE 1.5s
#10 [builder 3/7] WORKDIR /usr/src/app
#10 DONE 0.0s
#11 [builder 4/7] COPY package.json pnpm-lock.yaml ./
#11 DONE 0.0s
#12 [builder 5/7] RUN pnpm install
#12 0.258 /usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535
#12 0.258 if (key == null || signature == null) throw new Error(Cannot find matching keyid: ${JSON.stringify({ signatures, keys })});
#12 0.258 ^
#12 0.258
#12 0.258 Error: Cannot find matching keyid: {"signatures":[{"sig":"MEQCIBfxS9RKPsi46jxBHnsGYQ03mg8um110415vE6KRCzY8AiBvik66sYxJ/NyCovwJSbDuuoaYCxc7EVdFhaaciIXjTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
#12 0.258 at verifySignature (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
#12 0.258 at fetchLatestStableVersion (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)

Expected behaviour

Docker should execute sucessfuly

Actual behaviour

Fails to install corepack

Repository URL

No response

Workflow run URL

No response

YAML workflow

- uses: docker/build-push-action@v6
        with:
          push: true
          context: my-services
          tags: ${{ steps.metadata.outputs.tags }}
          labels: ${{ steps.metadata.outputs.labels }}

Workflow logs

No response

BuildKit logs


Additional info

No response

@wisdommen
Copy link

wisdommen commented Feb 5, 2025

Update your Dockerfile will fix this problem for now.
Change this line from
RUN corepack prepare pnpm@latest --activate
to
RUN corepack prepare pnpm@10.0.0 --activate

@roger-mdisrupt
Copy link
Author

Thankyou !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants