Git Product home page Git Product logo

Comments (7)

AyrtonRicardo avatar AyrtonRicardo commented on May 24, 2024 4

@crazy-max it seems to be working with @test version.

Output:

Retrieving registries data through AWS SDK...
AWS ECR detected with eu-central-1 region
Logging into {VERY_NICE_HIDDEN_REGISTRY}...
Login Succeeded!

from login-action.

crazy-max avatar crazy-max commented on May 24, 2024 2

@TheMacies Thanks for your feedback. After investigation it could be linked to an issue with region. Will come back to you shortly.

from login-action.

AyrtonRicardo avatar AyrtonRicardo commented on May 24, 2024 1

@crazy-max sure thing I can test. Gimme few minutes.

Your example is similar to what I use here.

from login-action.

crazy-max avatar crazy-max commented on May 24, 2024 1

Should be fixed with docker/login-action@v1

from login-action.

AyrtonRicardo avatar AyrtonRicardo commented on May 24, 2024

Also facing this issue with private registry in eu-central-1 region.

Exactly version v1.10.0 works.

AWS ECR detected with eu-central-1 region
Error: The security token included in the request is invalid.

from login-action.

crazy-max avatar crazy-max commented on May 24, 2024

@AyrtonRicardo Can you post your workflow please?

from login-action.

crazy-max avatar crazy-max commented on May 24, 2024

@TheMacies @AyrtonRicardo Can you try with uses: docker/login-action@test?

Got it working on public.ecr.aws: https://github.com/docker/login-action/runs/4582352695?check_suite_focus=true#step:4:14

image

  ecr-public-aws-creds:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - windows-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Configure AWS Credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: us-east-1
      -
        name: Login to ECR
        uses: docker/login-action@test
        with:
          registry: public.ecr.aws

from login-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.