I've seen that node:18.14.2 is available in docker but I get this error when trying yo use it in my pipelines.
rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/node:18.14.2": failed to resolve reference "docker.io/library/node:18.14.2": docker.io/library/node:18.14.2: not found.
In my pipeline.yml file I'm referencing the image this way:
Hello @Manuel Panizzo ,
Welcome to Atlassian Community!
Essentially, you should be able to use any public image available in DockerHub and for private images, you can provide the credentials for authentication.
I just tried to run a pipeline using the following YML and it was executed successfully :
image: node:18.14.2
pipelines:
default:
- step:
name: Test node
script:
- node --version
Could you please confirm if the syntax you used is similar to the above? If yes, then I would say it was a temporary glitch either on pipelines or DockerHub, and you can try again to check if the issue is still reproducible. If the same error happens when running the build again, please share your full YML file here so we can have a deeper look.
Thank you, @Manuel Panizzo !
Patrik S
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.