Skip to content

[Bug] Step 4 fails if DOCKER_IMAGE_NAME contains an uppercase letter #96

Open
@Joserra13

Description

@Joserra13

Summary

As you can see, my GitHub username contains an uppercase letter and when you build the docker image, it fails when starting the ttt-app in azure because of the following logs I got from Deployment Center -> Logs in my Azure Web App:

2024-11-25T17:32:44.166Z INFO - Pulling image: ghcr.io/Joserra13/deploy-to-azure/Joserra13-azure-ttt:<what_i_think_it_is_a_token>
2024-11-25T17:32:44.190Z ERROR - DockerApiException: Docker API responded with status code=BadRequest, response={"message":"invalid reference format: repository name must be lowercase"}

I changed the DOCKER_IMAGE_NAME in the env variables of the workflow for the Build-Docker-Image job from: DOCKER_IMAGE_NAME: Joserra13-azure-ttt to DOCKER_IMAGE_NAME: joserra13-azure-ttt

The workflow was successful and the WebApp is running accordingly.

Metadata

Metadata

Assignees

No one assigned

    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