Rakefile in aptly_cli-0.2.8 vs Rakefile in aptly_cli-0.2.9
- old
+ new
@@ -14,9 +14,19 @@
desc "Docker build image"
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}}"}
end