intermine / intermine/docker-intermine-gradle

Continuous deployment to dockerhub

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.