diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..27a83c10 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@kaverma @kanika1894 @BALAGA-GAYATRI @pulkitaggarwl diff --git a/.github/ISSUE_TEMPLATE/bug-report-feature-request.md b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md new file mode 100644 index 00000000..bdcc2911 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report-feature-request.md @@ -0,0 +1,10 @@ +--- +name: Bug Report / Feature Request +about: Describe this issue template's purpose here. +title: '' +labels: need-to-triage +assignees: '' + +--- + + diff --git a/.github/workflows/auto-triage-issues b/.github/workflows/auto-triage-issues new file mode 100644 index 00000000..ae9926af --- /dev/null +++ b/.github/workflows/auto-triage-issues @@ -0,0 +1,21 @@ +name: "Auto-Labelling Issues" +on: + issues: + types: [opened, edited] + +jobs: + auto_label: + runs-on: ubuntu-latest + name: Auto-Labelling Issues + steps: + - name: Label Step + uses: larrylawl/Auto-Github-Issue-Labeller@v1.0 + with: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + REPOSITORY: ${{github.repository}} + DELTA: "7" + CONFIDENCE: "2" + FEATURE: "enhancement" + BUG: "bug" + DOCS: "documentation" + diff --git a/README.md b/README.md index 8d6ed0b0..6917d343 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ You can automate your workflows to deploy to [Azure Container Instances](https:/ Get started today with a [free Azure account](https://azure.com/free/open-source)! -This repository contains [GitHub Action for Deploying to Azure Container Instances](/action.yml) to deploy to Azure Container Instances. It supports deploying your container image to an Azure Container Instance. +This repository contains [GitHub Action for Deploying to Azure Container Instances](/action.yml) to deploy to Azure Container Instances. It supports deploying your container image to an Azure Container Instance. + +__Note__: Currently this action supports deploying to azure container instances only if the __ip-Address__ of the container group is __public__. The definition of this GitHub Action is in [action.yml](/action.yml). diff --git a/action.yml b/action.yml index 4c3d560c..d0197a33 100644 --- a/action.yml +++ b/action.yml @@ -66,7 +66,7 @@ inputs: description: 'Specify the fully qualified container image name. For example, "myregistry.azurecr.io/nginx:latest" or "python:3.7.2-alpine/"' required: true ip-address: - description: 'IP Address type of the Container Group. Accepted Values are { Private, Public }' + description: 'IP Address type of the Container Group. Accepted Values are { Private, Public }.Currently it only supports { Public }' required: false default: 'Public' location: diff --git a/lib/taskparameters.js b/lib/taskparameters.js index 3158b4fa..5d18229f 100644 --- a/lib/taskparameters.js +++ b/lib/taskparameters.js @@ -148,7 +148,7 @@ class TaskParameters { let pairList = pair.split(/=(?:"(.+)"|(.+))/); let obj = { "name": pairList[0], - "value": pairList[1] || pairList[2] + "secureValue": pairList[1] || pairList[2] }; this._environmentVariables.push(obj); });