tbotnz / cisshgo

simple concurrent ssh server posing as cisco ios
131 stars 26 forks source link

Add Docker Build/Release #25

Open lykinsbd opened 3 years ago

lykinsbd commented 3 years ago

Goreleaser does an awesome job taking a tag in Master and creating a release with artifacts.

We need to look at also using it to generate the Docker containers and pushing to Dockerhub.

https://goreleaser.com/customization/docker/

It’s already in the Goreleaser config file, just need to test and try it out!

# uncomment and modify if automated docker build/push is needed
# dockers:
#   - goos: linux
#     goarch: amd64
#     binaries:
#       - cisshgo
#     image_templates:
#       - "hellt/cisshgo:latest"
#       - 'hellt/cisshgo:{{ replace .Version "v" ""}}'
#     dockerfile: Dockerfile
#     skip_push: false