Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,178
Community Members
 
Community Events
168
Community Groups

Pipeline - Failed to Pull and Unpack Image

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 Aug 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

Did the trick! thanks Syahrul.

Suggest an answer

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

Atlassian Community Events