GitHub Actions: Continuous Delivery with Azure username with uppercase character

I’ve been working on this lab and I got stuck at Step 7.
I’ve modified the yml files and the jobs are triggered like a charm on label changes.
However when I wanted to test the deployed application on the link inserted into the action log I continuously ran into that my application simply hasn’t started on Azure.
Finally I found this log info on the Container settings site:

2020-12-14T20:42:57.540Z INFO  - Pulling image:
2020-12-14T20:42:57.579Z ERROR - DockerApiException: Docker API responded with status code=BadRequest, response={"message":"invalid reference format: repository name must be lowercase"}

So I changed my username to avoid this issue. Now I’m srtuggling with a new problem, which is basically: progress :slight_smile:
Now I got the following error messages:

2020-12-14T21:48:52.877Z ERROR - Pulling docker image failed:
2020-12-14T21:48:52.877Z INFO  - Pulling image from Docker hub:
2020-12-14T21:48:53.130Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get no basic auth credentials"}

2020-12-14T21:48:53.139Z ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository)
2020-12-14T21:48:53.143Z INFO  - Stopping site molnar-atesz-tictactoe because it failed during startup.
2020-12-14T21:58:24.708Z INFO  - Pulling image:
2020-12-14T21:58:25.075Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured."}

What I’ve tried so far:

  • I destroyed my Resource group and re-created it.
  • Redeployed my app multiple times -> adding/removing stage label -> because it is quite a good feeling to see that it’s automatically triggers my workflow
  • I restarted the App Service as well

Any other idea?

I had the exact same problem. Also tried changing to use an explicit Personal Access Token with the correct permissions… no dice.

I’m curious if you found a resolution to this issue?

Hi all :wave:

I’d be more than happy to try and help you get through this Learning Lab.

@AndrewSouthpaw @molnar-atesz can you both please send over links to your repositories that you are working in and also make sure they are set to public rather than private so I can see what’s going on in them.

Please note that this will not expose your Personal Access Token to me in anyway, but it’s helpful for me to look at the history of the repo :grinning_face_with_smiling_eyes:

Thanks in advance.