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

Setup GitHub actions to build & publish Docker image #40

Merged
merged 10 commits into from
Feb 25, 2024

Conversation

kevinfarrugia
Copy link
Collaborator

@kevinfarrugia kevinfarrugia commented Feb 21, 2024

This PR introduces two GitHub actions.

  • build.yml is used to build the Docker image on each pull request or commit to main. This helps check that the dockerfile does not contain any bugs.
  • docker-image.yml is used to publish the Docker image to Docker Hub. The login and repository need to be configured as GitHub repository secrets.

The PR also updates the README.md title to V3. 🎉

ATTN:

Before merging this pull request, you are required to create the following GitHub Repository Secrets:

- secrets.DOCKER_USERNAME
- secrets.DOCKER_PASSWORD
- secrets.DOCKER_REPOSITORY

The DOCKER_USERNAME and DOCKER_PASSWORD may be retrieved after logging in to Docker Hub and creating an Access Token. The DOCKER_REPOSITORY is ousamabenyounes/yellowlabtools

I was able to test the GitHub actions, including publishing to Docker Hub using a fork. Once the official image is updated on Docker Hub I will remove my own to avoid confusion.

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.

2 participants