docker-login: Can not use the new docker/login version v1.0.1
Since the new version a few minutes ago, we get the following error:
`node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module ‘@actions/core’ Require stack:
- /home/runner/work/_actions/azure/docker-login/v1/lib/login.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/runner/work/_actions/azure/docker-login/v1/lib/login.js:13:14) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) *** code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘/home/runner/work/_actions/azure/docker-login/v1/lib/login.js’ ] ***`
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 14
- Comments: 19 (2 by maintainers)
You can do @2faa66cfd1a1e8d02713b5df43a1f4da62872ec2
Can you please check now?
I have chacked v1.0.1 is also working now. Please re-run once and confirm
https://github.com/Azure/docker-login/commit/7c3fbb89c5162a802bc3743389996c6a647bd5db this worked for us.
v1 is working now.
Hi, I have seen the same issue on my projects for a few minutes. I would prefer not to have to explicitly reference v1.0.0 in all my workflows…
Sorry just saw 2faa66cfd1a1e8d02713b5df43a1f4da62872ec2, thx @bamarch
We are also getting the same error