Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Auto docker building and deploy in travis CI #521

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

Merged
code-asher merged 8 commits into coder:ci from lucacasonato:docker-ci
Sep 17, 2019
Merged

Auto docker building and deploy in travis CI #521

code-asher merged 8 commits into coder:ci from lucacasonato:docker-ci
Sep 17, 2019

Conversation

Copy link
Contributor

@lucacasonato lucacasonato commented Apr 17, 2019

Docker images now get built & deployed automatically. Extracting the binary from the docker container (#498 (comment)) doesn't work particularly well (and doesn't work for macOS) so binaries are still built the 'old' way for both macOS and Linux. The Docker image is only built when Travis' OS is Linux.

You will need to add a DOCKER_USERNAME and DOCKER_PASSWORD environment variable to Travis to enable it to push. It currently just pushes a tag every time you push to master. Docker does not have draft images afaik

I also cleaned up the .travis.yml file so it uses the same tab spacing everywhere.

Fixes #498.

kylecarbs and nhooyr reacted with heart emoji
@code-asher code-asher changed the base branch from master to ci September 17, 2019 16:52
@code-asher code-asher merged commit 7ad2bcb into coder:ci Sep 17, 2019
code-asher pushed a commit that referenced this pull request Sep 17, 2019
* made spacing for travis yaml consistent in file
* cleaned up .travis.yml and moved some code into a script
* checking if i can get travis to build this
* travis
* fixed an if statement
* fixed travis.yml file
* replaced my name with codercom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@code-asher code-asher Awaiting requested review from code-asher

@kylecarbs kylecarbs Awaiting requested review from kylecarbs

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /