/github-docker-workflow

This workflow automates building and pushing a Docker image from your GitHub repository.

The UnlicenseUnlicense

GitHub Docker Workflow

How to use

  1. Clone the project:
git clone https://github.com/<your-github-username>/github-docker-workflow
  1. Move deploy.yml to .github/workflows in your repository.

  2. Create repository secrets for DOCKER_USERNAME and DOCKER_PASSWORD as your Docker Username and Password respectively.

  3. Change myusername/myapp to your desired Docker image name.

Once you commit to GitHub, the workflow will automatically run and attempt to build and push your image to Docker Hub. Look for the workflow status under the 'Actions' tab in your repository.

Star this project ✨