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
For anyone that has either a username or a repository name in GitHub that contains capital letters, the build job will fail. For example, my username is WayneLambert, therefore my build process failed with the following in the traceback:
Run docker-compose -f docker-compose.ci.yml build
docker-compose -f docker-compose.ci.yml build
shell: /bin/bash -e {0}
env:
WEB_IMAGE: docker.pkg.github.com/WayneLambert/django-github-digitalocean/web
NGINX_IMAGE: docker.pkg.github.com/WayneLambert/django-github-digitalocean/nginx
Building web
invalid reference format: repository name must be lowercase
##[error]Process completed with exit code 1.
Full image below:
By the look of things, the variable takes the repository name as a concatenation of the username and the repository name exactly as it is.
The text was updated successfully, but these errors were encountered:
I circumvented the unnecessary variable by just hardcoding the actual url. In my case, my github username is pattoM and the capitalized m was bringing on issues.
Yes, you can hard code the value and it will then build but if your goal is to build a template for future projects, then you can replace $GITHUB_REPOSITORY with $(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]') and it will build.
For anyone that has either a username or a repository name in GitHub that contains capital letters, the build job will fail. For example, my username is
WayneLambert
, therefore my build process failed with the following in the traceback:Full image below:
By the look of things, the variable takes the repository name as a concatenation of the username and the repository name exactly as it is.
The text was updated successfully, but these errors were encountered: