Skip to content

ECR EUSC Support #908

Closed
Closed

Description

@autarchprinceps

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

Run docker/login-action@v3
  with:
    registry: redacted.dkr.ecr.eusc-de-east-1.amazonaws.eu
    ecr: true
    logout: true
  env:
    AWS_DEFAULT_REGION: eusc-de-east-1
    AWS_REGION: eusc-de-east-1
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***
Retrieving registries data through AWS SDK...
AWS ECR detected with  region
Error: Region is missing

Running ECR login in the European Sovereign Cloud leads to an error in detecting the region correctly

Expected behaviour

Login to ECR, as the region is correctly provided in both env and registry URL

Actual behaviour

Unrecoverable error, seemingly due to lacking a region, which isn't true.

Repository URL

No response

Workflow run URL

No response

YAML workflow

- name: Configure AWS credentials
  uses: aws-actions/configure-aws-credentials@v4
  with:
    audience: ${{ inputs.audience }}
    role-to-assume: arn:${{ inputs.partition }}:iam::${{ inputs.accountID }}:role/${{ inputs.roleName }}
    aws-region: ${{ inputs.region }}
- name: Login to AWS Container Registry
  uses: docker/login-action@v3
  with:
    registry: ${{ inputs.accountID }}.dkr.ecr.${{ inputs.region }}.${{ inputs.url_suffix }}
    ecr: true
  env:
    AWS_REGION: ${{ inputs.region }}

Workflow logs

No response

BuildKit logs


Additional info

No response

Activity

  1. added 5 commits that reference this issue on Jan 12, 2026
    d8971cd
    5d5bcf3
    5b4afe1
    cc7857c
    f6ef577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions