Skip to content

Cannot use a base image from ECR in Github Actions #82

@dancorne

Description

@dancorne

When setting up a Github Workflow to assume an AWS role for pushing/pulling images, serverless-tools should carry through that authentication for the Docker build. However it returns an error when trying to access an internal base image.

Unfortunately I can't find my example in the logs now but it was clear it couldn't pull the base image due to authentication issues. I think it works locally though, maybe because Docker auth works separately to the AWS login IIRC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions