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.
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-ttttoDOCKER_IMAGE_NAME: joserra13-azure-tttThe workflow was successful and the WebApp is running accordingly.