redalert icon indicating copy to clipboard operation
redalert copied to clipboard

Deploy builds to Docker Hub

Open emcniece opened this issue 8 years ago • 2 comments

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 avatar Oct 22 '17 19:10 emcniece

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?

emcniece avatar Oct 22 '17 19:10 emcniece

@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!

jonog avatar Nov 06 '17 09:11 jonog