Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup automatic docker build on new release #17

Open
marcj opened this issue Aug 3, 2018 · 1 comment
Open

Setup automatic docker build on new release #17

marcj opened this issue Aug 3, 2018 · 1 comment

Comments

@marcj
Copy link
Member

marcj commented Aug 3, 2018

Everytime we tag a new release, we should build the docker image automatically. Dunno how at the moment. Maybe we can use Github's API and detect when a new tag has been added and then kickstart some build on a buildsystem.

@k911
Copy link

k911 commented Aug 17, 2018

You can use any CI for that, with deploy script configured to build docker and push to registry whenever build is triggered on tag.

Example .travis.yml deploy script definition:
https://github.com/knit-pk/api-v1-php/blob/f2fa73946ade1d76e1ac4fa8204055fe3d1dceab/.travis.yml#L107

And deploy script itself: https://github.com/knit-pk/api-v1-php/blob/develop/deploy/docker-app-push.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants