Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from EnMasseProject/fix-master-branch
Browse files Browse the repository at this point in the history
back to registry in container
  • Loading branch information
famarting authored May 5, 2020
2 parents 9f91dc6 + 9e48f94 commit 19ea092
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ function install_minikube() {

function run_registry() {
core.info(`Running registry...`);
var registryCommand = 'minikube';
var registryArgs = ['addons', 'enable', 'registry'];
var registryCommand = 'docker';
var registryArgs = ['run', '--name', 'image-registry', '-d', '-p', '5000:5000', 'registry'];
return execute_command(registryCommand, registryArgs);
}

Expand All @@ -74,7 +74,7 @@ function start_minikube() {
}

try {
if (install_deps() || install_minikube() || start_minikube() || run_registry() || wait_for_minikube()) {
if (install_deps() || install_minikube() || run_registry() || start_minikube() || wait_for_minikube()) {
core.setFailed(error.message);
}

Expand Down

0 comments on commit 19ea092

Please sign in to comment.