Skip to content

Issues when publishing images on GHCR due to uppercase letters #103

Description

Hi, I was using the feature-starter setup to publish the features I've made to GitHub automatically through GitHub Actions but was unable to because namespaces don't support uppercase characters. For more context, the log during deploy says "Failed to get upload session ID", but the workflow is still marked as successful. There are no packages uploaded after the workflow run.

I've confirmed that the uppercase characters are the problem by attempting the process locally through the devcontainer CLI. Currently I am publishing features manually through the CLI by writing out the namespace in lowercase (e.g androoideka/container-setups), but it'd be convenient if this action also supported it. Since the action builds the namespace through GitHub metadata, I'm guessing the simplest way to solve this is to change lines 21 and 22 in utils.ts by appending toLowerCase() to both github.context.repo.owner and github.context.repo.repo

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions