From 95a2dec2e051d104103f25db58aec4ced330fc6e Mon Sep 17 00:00:00 2001 From: Marvin Buss <34542414+marvinbuss@users.noreply.github.com> Date: Wed, 2 Sep 2020 17:11:50 +0200 Subject: [PATCH 1/2] Update to Azure ML SDK 1.13.0 Update to Azure ML SDK 1.13.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f9db5b8..2b61101 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM marvinbuss/aml-docker:1.12.0 +FROM ghcr.io/marvinbuss/aml-docker:1.13.0 LABEL maintainer="azure/gh-aml" From b69beef14b315d09b48c440f1861fdfce56cfa4f Mon Sep 17 00:00:00 2001 From: Marvin Buss <34542414+marvinbuss@users.noreply.github.com> Date: Thu, 3 Sep 2020 19:22:54 +0200 Subject: [PATCH 2/2] Updated parameter name in code - bugfix --- code/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/main.py b/code/main.py index 21c2e12..f8510cf 100644 --- a/code/main.py +++ b/code/main.py @@ -211,7 +211,7 @@ def main(): # Publishing pipeline print("::debug::Publishing pipeline") - if type(run) is PipelineRun and parameters.get("publish_pipeline", False): + if type(run) is PipelineRun and parameters.get("pipeline_publish", False): # Default pipeline name repository_name = os.environ.get("GITHUB_REPOSITORY").split("/")[-1] branch_name = os.environ.get("GITHUB_REF").split("/")[-1] @@ -228,7 +228,7 @@ def main(): print(f"::set-output name=published_pipeline_id::{published_pipeline.id}") print(f"::set-output name=published_pipeline_status::{published_pipeline.status}") print(f"::set-output name=published_pipeline_endpoint::{published_pipeline.endpoint}") - elif parameters.get("publish_pipeline", False): + elif parameters.get("pipeline_publish", False): print("::error::Could not register pipeline because you did not pass a pipeline to the action") print("::debug::Successfully finished Azure Machine Learning Train Action")