Skip to content

Conversation

@alanmehio
Copy link

The user needs to create a DockerHub repository which has the same name as the GitHub repository for example, if my GitHub repository is my-proj so the DockerHub needs to be the same name which is my-proj
The tag yaml elements needs to give an example which show the mirror on the DockerHub

Description

The github actions does not work if the repository name are not the same

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

The user needs to create a DockerHub repository which has the same name as the GitHub repository 
for example, if my GitHub repository is my-proj  so the DockerHub needs to be the same name which is my-proj
@netlify
Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 2708d62
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/687f4676ea66d500088ef9a2
😎 Deploy Preview https://deploy-preview-23134--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

2. Under the **Variables** tab, create a new **Repository variable** named `DOCKER_USERNAME` and your Docker ID as a value.

3. Create a new [Personal Access Token (PAT)](/manuals/security/access-tokens.md#create-an-access-token) for Docker Hub. You can name this token `docker-tutorial`. Make sure access permissions include Read and Write.
4. Create DockerHub repository use the **same name** as your GitHub repository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary to create the Docker Hub repo manually. It will be created when the image is being pushed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@crazy-max crazy-max closed this Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants