jonog / redalert

:rocket: continuously test all the things - trigger alerts on failure :boom:
MIT License
91 stars 16 forks source link

Deploy builds to Docker Hub #63

Open emcniece opened 6 years ago

emcniece commented 6 years ago

https://hub.docker.com/r/jonog/redalert/tags/ appears to be 2 versions behind https://github.com/jonog/redalert/releases. Adding a deploy step to the circle.yml config might help keep these tags up to date.

https://circleci.com/docs/1.0/docker/ has info about adding deploy steps to https://github.com/jonog/redalert/blob/master/circle.yml.

deployment:
  hub:
    branch: master
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      - docker push jonog/redalert
emcniece commented 6 years ago

Ah, I see that this project is using GoReleaser. It looks like this tool also supports Docker deploys: https://goreleaser.com/#docker

Which method do you think is better?

jonog commented 6 years ago

@emcniece good point on the docker image being behind - would be ideal to release both the binaries and docker image via CI, will take a look!