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

travis: Automate docker builds #471

Merged
merged 2 commits into from
Aug 16, 2016
Merged

travis: Automate docker builds #471

merged 2 commits into from
Aug 16, 2016

Conversation

joonas
Copy link
Contributor

@joonas joonas commented Aug 16, 2016

This adds automation for docker builds when a new tag is pushed up. Once a new tag is pushed up, docker build gets run with that tag used as the docker tag that then gets pushed up to docker hub.

This depends on 4 new environment variable to be set up in the settings:

  • DOCKER_REPOSITORY - digitalocean
  • DOCKER_IMAGE_NAME - netbox
  • DOCKER_USERNAME - we have a user set up for this (stored as a secure environment variable)
  • DOCKER_PASSWORD - password for the aforementioned user (stored as a secure environment variable)

cc @zachmoody @mdlayher

@mdlayher
Copy link
Contributor

👍 Looks good here!

@zachmoody zachmoody merged commit c056d86 into netbox-community:develop Aug 16, 2016
@joonas joonas deleted the travis/automated-docker-builds branch August 16, 2016 21:02
if-fi pushed a commit to if-fi/netbox that referenced this pull request Oct 1, 2016
…docker-builds

travis: Automate docker builds
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants