The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Pipeline - Failed to Pull and Unpack Image

Steve Macleod
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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
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!
August 15, 2022

Did the trick! thanks Syahrul.

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events