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: 

Pulling image from ECR does work and don't provide logs.

ericsantosnasc
November 15, 2017

I'm trying to pull a image from my ECR account, but it does not working and worst thing, it does not show any log so I'm actually blind.

 

image: maven:3.3.9

pipelines:
  default:
    - step:
        caches:
          - maven
        script:
          - docker version
        services:
          - elasticsearch

definitions:
  services:
    elasticsearch:
      image:
        name: accountId.dkr.ecr.eu-central-1.amazonaws.com/elastic-search
        aws:
          access-key: $AWS_ACCESS_KEY
          secret-key: $AWS_SECRET_KEY
options:
  docker: true

this is my yml file, I'm doing something wrong? why there is no logs.

 

Screen Shot 2017-11-15 at 18.09.33.png

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2017

Hi @ericsantosnasc,

Docker images hosted on ECR are using a different way to authenticate against the registry. See if this helps: https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html?_ga=2.77291158.227957974.1512408304-191870588.1502176058 

TAGS
AUG Leaders

Atlassian Community Events