Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Joserra13 opened this issue Nov 25, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Joserra13
Copy link

Joserra13 commented Nov 25, 2024

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.

@Joserra13 Joserra13 added the bug Something isn't working label Nov 25, 2024
@Joserra13 Joserra13 changed the title [Bug] Step 4 fails if GitHub username contains an uppercase letter [Bug] Step 4 fails if DOCKER_IMAGE_NAME contains an uppercase letter Nov 25, 2024
@nguyenalex836
Copy link

@Joserra13 Thank you for raising this issue! I'll get this triaged for review ✨ Our team will provide feedback regarding the best next steps for this issue - thanks for your patience! 💛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants