You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
@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! 💛
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
toDOCKER_IMAGE_NAME: joserra13-azure-ttt
The workflow was successful and the WebApp is running accordingly.
The text was updated successfully, but these errors were encountered: