Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature CI CD docker pipeline integration #8

Closed

Conversation

ganshul34
Copy link

This PR closes this issue Introduce CI CD pipeline

Following are the approaches for integration of Docker with GitHub

  1. Create a webhook on GitHub which notifies Docker Hub of changes to a particular branch and the docker image is built on the DockerHub.

Webhooks-Workflow

  1. When the code is pushed to a particular branch on GitHub trigger a GitHub Action which will build the docker image and then push the created image to Docker Hub.

Github-actions-workflow

I have implemented the 2nd Approach.

Also, we need to add the following variable under Repository's Secrets for the GitHub actions to correctly run.

  • DOCKER_HUB_USERNAME
  • DOCKER_HUB_TOKEN
  • DOCKER_HUB_REPOSITORY

@snarayanank2
Copy link
Contributor

Hi @ganshul34 thanks for the change. Can you change the PR to use this GA from the marketplace. It seems very popular and supports multi-platform builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants