Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline - Failed to Pull and Unpack Image

Steve Macleod August 11, 2022

Getting the following error from the pipeline after updating to jdk 18:

rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/3.8.6-openjdk-18:latest": failed to resolve reference "docker.io/library/3.8.6-openjdk-18:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Pipeline source (abbreviated):

 

image: 3.8.6-openjdk-18
pipelines:
branches:
master:
- step:
caches:
- maven
script:
- mvn clean package spring-boot:repackage -Dmaven.test.skip=true
artifacts:
- target/*
- step:
caches:
- maven
deployment: Production
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.6.6
variables:
AWS_ACCESS_KEY_ID: '$AWS_ACCESS_KEY_ID'
AWS_SECRET_ACCESS_KEY: '$AWS_ACCESS_KEY_SECRET'
AWS_DEFAULT_REGION: '$AWS_DEFAULT_REGION'
APPLICATION_NAME: '$APPLICATION_NAME'
ENVIRONMENT_NAME: '$ENVIRONMENT_NAME'
The 3.8.6-openjdk-18 image is referenced in the documentation
Can anyone assist with this issue?

1 answer

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2022

Hey @Steve Macleod 

G'day!

Looking at your YAML config, I believe the image parameter you use is invalid. Can you change it to:

image: maven:3.8.6-openjdk-18

Let me know how it goes.

Cheers,
Syahrul

Steve Macleod August 15, 2022

Did the trick! thanks Syahrul.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events