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

switching to Docker pull for faster builds #85

Merged
merged 1 commit into from Apr 13, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+11 −1
Diff settings

Always

Just for now

Copy path View file
@@ -6,7 +6,7 @@ services:
- docker

before_install:
- rake docker_build
- rake docker_pull
- rake docker_run
- docker ps -a

Copy path View file
@@ -16,6 +16,16 @@ task :docker_build do
sh %{docker build -t sepulworld/aptly_api .}
end

desc "Push Docker image to Docker Hub"
task :docker_push do
sh %{docker push sepulworld/aptly_api}
end

desc "Pull Docker image to Docker Hub"
task :docker_pull do
sh %{docker pull sepulworld/aptly_api}
end

desc "List Docker Aptly running containers"
task :docker_list_aptly do
sh %{docker ps --filter ancestor='sepulworld/aptly_api' --format="{{.ID}}"}
ProTip! Use n and p to navigate between commits in a pull request.