makinodesu / my-portfolio

https://wordpress-prototype.azurewebsites.net/
Other
1 stars 1 forks source link

buildx failed with: error: invalid tag "mcr.microsoft.com/***/appsvc/wordpress-alpine-php:79809cd55b3a7365f01459608a28473b169f9434": repository name must be lowercase #1

Closed makinodesu closed 2 years ago

makinodesu commented 2 years ago

GitHub Action which occured title's error

https://github.com/makinodesu/my-portfolio/runs/6293748878?check_suite_focus=true


Solution

Introduction of convert username to lowercase

https://github.com/makinodesu/my-portfolio/blob/58b276de4a08f5436311651592224eba8fb89cdd/.github/workflows/main_wordpress-prototype.yml#L17-L21

https://github.com/makinodesu/my-portfolio/blob/58b276de4a08f5436311651592224eba8fb89cdd/.github/workflows/main_wordpress-prototype.yml#L44

https://github.com/makinodesu/my-portfolio/runs/6302479364?check_suite_focus=true


Thanks

https://github.community/t/additional-function-s-lowercase-uppercase/140632

Reference

https://github.com/docker/build-push-action/blob/master/TROUBLESHOOTING.md#troubleshooting