diff --git a/.dockerignore b/.dockerignore index 0d0d4f0c6..3765648b1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ * !dist +!build diff --git a/README.md b/README.md index 56193adf7..9cade71eb 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [](https://hub.docker.com/r/portainer/portainer/) [](http://microbadger.com/images/portainer/portainer "Image size") [](http://portainer.readthedocs.io/en/latest/?badge=stable) +[]( https://g.codefresh.io/repositories/portainer/portainer/builds?filter=trigger:build;branch:develop;service:5922a08a3a1aab000116fcc6~portainer-ci) [](https://gitter.im/portainer/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHXZJQNJQ36H6) diff --git a/api/portainer.go b/api/portainer.go index ff38b8b5a..c0315ecaf 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -252,7 +252,7 @@ type ( const ( // APIVersion is the version number of the Portainer API. - APIVersion = "1.13.0" + APIVersion = "1.13.1" // DBVersion is the version number of the Portainer database. DBVersion = 2 ) diff --git a/app/app.js b/app/app.js index 9cfa606fc..82fa21625 100644 --- a/app/app.js +++ b/app/app.js @@ -631,4 +631,4 @@ angular.module('portainer', [ .constant('ENDPOINTS_ENDPOINT', 'api/endpoints') .constant('TEMPLATES_ENDPOINT', 'api/templates') .constant('PAGINATION_MAX_ITEMS', 10) - .constant('UI_VERSION', 'v1.13.0'); + .constant('UI_VERSION', 'v1.13.1'); diff --git a/app/components/createService/createServiceController.js b/app/components/createService/createServiceController.js index 02924bf44..5ba874fb7 100644 --- a/app/components/createService/createServiceController.js +++ b/app/components/createService/createServiceController.js @@ -176,12 +176,7 @@ function ($scope, $state, Service, ServiceHelper, Volume, Network, ImageHelper, function prepareVolumes(config, input) { input.Volumes.forEach(function (volume) { if (volume.Source && volume.Target) { - var mount = {}; - mount.Type = volume.Bind ? 'bind' : 'volume'; - mount.ReadOnly = volume.ReadOnly ? true : false; - mount.Source = volume.Source; - mount.Target = volume.Target; - config.TaskTemplate.ContainerSpec.Mounts.push(mount); + config.TaskTemplate.ContainerSpec.Mounts.push(volume); } }); } diff --git a/app/components/task/task.html b/app/components/task/task.html index a657fa63d..16db1a274 100644 --- a/app/components/task/task.html +++ b/app/components/task/task.html @@ -22,6 +22,10 @@
{{ task.Status.Err }}