Pipeline is failing

rajputj3@bv.com May 30, 2024

I have following pipeline for my client nodejs app and it is failing.

Would you please help?

rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/node:14.8.1": failed to resolve reference "docker.io/library/node:14.8.1": docker.io/library/node:14.8.1: not found

Here is pipeline code:

 

# Template NodeJS build

# This template allows you to validate your NodeJS code.
# The workflow allows running tests and code linting on the default branch.

image: node:14.8.1
pipelines:
branches:
develop:
- step:
name: Build & Deploy to Test
deployment: Test
script:
- echo $DEPLOYMENT_VARIABLE
- step:
name: npm install and build
caches:
- node
script:
- npm install
- npm run build
# - npm test
# - step:
# name: Code linting
# script:
# - npm install eslint
# - npx eslint .
# caches:
# - node

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 2, 2024

Hi rajputj3_bv_com,

The reason you're getting that error message is because the image you're referencing does not exist - please check this search list on Dockerhub for an equivalent image name that you may use:

 

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events