Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

is node 18.14.2 avaialble in pipelines?

Manuel Panizzo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2023

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:


image
: node:18.14.2

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events