ProjectHoot / Hoot

Project Hoot repository
MIT License
57 stars 10 forks source link

Add basic CI for publishing a basic dockerfile #34

Closed npmaile closed 3 years ago

npmaile commented 3 years ago

This will publish any pushes to the Hoot repository to dockerhub as image hoot:latest as a basic hoot docker image.

More to come soon.

Before this will work properly, the following need to be added to github repository secrets for the project (won't affect anything to add them early)

DOCKERHUB_TOKEN - a token generated with permissions under the docker org the image is to be published under. DOCKERHUB_USERNAME - someone's username for dockerhub with ability to push to the docker org that the image will be published under. mine is "npmaile" DOCKER_ORG_NAME - what the first part of the docker image name is likely going to be "projecthoot" for projecthoot/hoot:latest

more info on github actions can be found here more info on github secrets can be found here more info on dockerhub tokens can be found here