Setup GitHub actions to build & publish Docker image #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces two GitHub actions.
build.yml
is used to build the Docker image on each pull request or commit tomain
. 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:
The
DOCKER_USERNAME
andDOCKER_PASSWORD
may be retrieved after logging in to Docker Hub and creating an Access Token. TheDOCKER_REPOSITORY
isousamabenyounes/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.