mirror of https://github.com/portainer/portainer
8 lines
305 B
JavaScript
8 lines
305 B
JavaScript
angular.module('portainer.rest')
|
|
.factory('ContainerCommit', ['$resource', 'Settings', function ContainerCommitFactory($resource, Settings) {
|
|
'use strict';
|
|
return $resource(Settings.url + '/commit', {}, {
|
|
commit: {method: 'POST', params: {container: '@id', repo: '@repo', tag: '@tag'}}
|
|
});
|
|
}]);
|