intermine / intermine/docker-intermine-gradle
Continuous deployment to dockerhub
- Dominant language
- Shell
- Stars
- 5
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
It would be useful to have a Github action which when a PR is merged, or change committed to master branch, builds the docker containers and if there are no errors, pushes the new images to https://hub.docker.com/u/intermine/.
The docker commands for doing this once auth secrets have been added: (filling in `imagename` and `commithash`)
```
docker build -t imagename path/to/Dockerfile
docker tag imagename intermine/imagename:latest
docker tag imagename intermine/imagename:commithash
docker push intermine/imagename
```
For the sake of automation, I think using the commit hash instead of a semantic version is okay.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.