зеркало из https://github.com/Azure/aml-run.git
fixed overwrite and changed copy action
This commit is contained in:
Родитель
c008cce5f4
Коммит
5180a18494
14
Dockerfile
14
Dockerfile
|
@ -1,14 +1,6 @@
|
|||
FROM marvinbuss/aml-docker:latest
|
||||
|
||||
LABEL "com.github.actions.name"="Azure Machine Learning Run"
|
||||
LABEL "com.github.actions.description"="Submit a run to an Azure Machine Learning Workspace with this GitHub Action"
|
||||
LABEL "com.github.actions.icon"="arrow-up-right"
|
||||
LABEL "com.github.actions.color"="gray-dark"
|
||||
LABEL maintainer="azure/gh-aml"
|
||||
|
||||
LABEL version="1.0.0"
|
||||
LABEL repository="https://github.com/Azure/aml-run"
|
||||
LABEL homepage="https://github.com/Azure/aml-run"
|
||||
LABEL maintainer=""
|
||||
|
||||
COPY /code .
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
COPY /code /code
|
||||
ENTRYPOINT ["/code/entrypoint.sh"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: "Azure Machine Learning Run Action"
|
||||
description: "Submit a run to an Azure Machine Learning Workspace with this GitHub Action"
|
||||
author: "Marvin Buss"
|
||||
author: "azure/gh-aml"
|
||||
inputs:
|
||||
azureCredentials:
|
||||
description: "Paste output of `az ad sp create-for-rbac --name <your-sp-name> --role contributor --scopes /subscriptions/<your-subscriptionId>/resourceGroups/<your-rg> --sdk-auth` as value of secret variable: AZURE_CREDENTIALS"
|
||||
|
@ -9,6 +9,9 @@ inputs:
|
|||
description: "JSON file including the parameters of the run."
|
||||
required: true
|
||||
default: "run.json"
|
||||
branding:
|
||||
icon: "chevron-up"
|
||||
color: "blue"
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "Dockerfile"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
set -e
|
||||
|
||||
ls -la
|
||||
python /main.py
|
||||
python /code/main.py
|
||||
|
|
Загрузка…
Ссылка в новой задаче