Compare commits

..
11 Commits
Author SHA1 Message Date
CrazyMax ce60bfdfe1 Merge pull request #26 from crazy-max/colima-start-args
docs: define custom "colima start" arguments
2023-08-28 09:12:42 +02:00
CrazyMax 24d5692d29 docs: define custom "colima start" arguments 2023-08-28 08:54:24 +02:00
CrazyMax c322702919 Merge pull request #25 from crazy-max/update-toolkit
bump @docker/actions-toolkit from 0.11.0 to 0.12.0-rc.1
2023-08-28 08:44:44 +02:00
CrazyMax ba6df22a99 update generated content 2023-08-28 08:36:20 +02:00
CrazyMax 751eb0de7b bump @docker/actions-toolkit from 0.11.0 to 0.12.0-rc.1 2023-08-28 08:35:21 +02:00
CrazyMax 2c7b4c9ba9 Merge pull request #24 from crazy-max/daemon-config
daemon-config input
2023-08-27 15:53:33 +02:00
CrazyMax 0e98cdfc95 update generated content 2023-08-27 14:49:25 +02:00
CrazyMax e5467b74ef daemon-config input 2023-08-27 14:49:24 +02:00
CrazyMax d298db0f7d Merge pull request #23 from crazy-max/update-toolkit
bump @docker/actions-toolkit from 0.10.0 to 0.11.0
2023-08-27 14:21:47 +02:00
CrazyMax 74272b7110 update generated content 2023-08-27 14:17:53 +02:00
CrazyMax d3292ed6bc bump @docker/actions-toolkit from 0.10.0 to 0.11.0 2023-08-27 14:15:30 +02:00
11 changed files with 155 additions and 20 deletions

No files matched your search

+41
View File
@@ -74,6 +74,35 @@ jobs:
if: always()
uses: crazy-max/ghaction-dump-context@v2
daemon-config:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker
uses: ./
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
context:
runs-on: ${{ matrix.os }}
strategy:
@@ -102,6 +131,18 @@ jobs:
if: always()
uses: crazy-max/ghaction-dump-context@v2
colima-start-args:
runs-on: macos-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker
uses: ./
env:
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32 --dns 1.1.1.1 --dns 8.8.8.8 --dns-host example.com=1.2.3.4
build-linux:
runs-on: ubuntu-latest
steps:
+63 -5
View File
@@ -14,6 +14,9 @@ Works on Linux, macOS and Windows.
___
* [Usage](#usage)
* [Quick start](#quick-start)
* [Daemon configuration](#daemon-configuration)
* [Define custom `colima start` arguments (macOS)](#define-custom-colima-start-arguments-macos)
* [Customizing](#customizing)
* [inputs](#inputs)
* [Notes](#notes)
@@ -22,6 +25,8 @@ ___
## Usage
### Quick start
```yaml
name: ci
@@ -37,17 +42,70 @@ jobs:
uses: crazy-max/ghaction-setup-docker@v1
```
### Daemon configuration
You can [configure the Docker daemon](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file)
using the `daemon-config` input. In the following example, we configure the
Docker daemon to enable debug and the [containerd image store](https://docs.docker.com/storage/containerd/)
feature:
```yaml
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v1
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
```
### Define custom `colima start` arguments (macOS)
You can define custom [`colima start` arguments](https://github.com/abiosoft/colima#customizing-the-vm)
using the `COLIMA_START_ARGS` environment variable to customize the VM:
```yaml
name: ci
on:
push:
jobs:
docker:
runs-on: macos-latest
steps:
-
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v1
env:
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32
```
## Customizing
### inputs
Following inputs can be used as `step.with` keys
| Name | Type | Default | Description |
|-----------|--------|-----------------------|---------------------------------------------------------------------------------------------------|
| `version` | String | `latest` | Docker CE version (e.g., `v23.0.1`). |
| `channel` | String | `stable` | Docker CE [channel](https://download.docker.com/linux/static/) (e.g, `stable`, `edge` or `test`). |
| `context` | String | `setup-docker-action` | Docker context name. |
| Name | Type | Default | Description |
|-----------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
| `version` | String | `latest` | Docker CE version (e.g., `v23.0.1`). |
| `channel` | String | `stable` | Docker CE [channel](https://download.docker.com/linux/static/) (e.g, `stable`, `edge` or `test`). |
| `daemon-config` | String | | [Docker daemon JSON configuration](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file) |
| `context` | String | `setup-docker-action` | Docker context name. |
## Notes
+4
View File
@@ -23,6 +23,7 @@ describe('getInputs', () => {
version: 'v23.0.1',
channel: '',
context: '',
daemonConfig: '',
} as context.Inputs
],
[
@@ -31,11 +32,13 @@ describe('getInputs', () => {
['version', 'v23.0.0-rc.4'],
['channel', 'test'],
['context', 'foo'],
['daemon-config', `{"debug":true,"features":{"containerd-snapshotter":true}}`],
]),
{
version: 'v23.0.0-rc.4',
channel: 'test',
context: 'foo',
daemonConfig: `{"debug":true,"features":{"containerd-snapshotter":true}}`,
} as context.Inputs
],
[
@@ -45,6 +48,7 @@ describe('getInputs', () => {
version: 'latest',
channel: '',
context: '',
daemonConfig: '',
} as context.Inputs
]
])(
+3
View File
@@ -14,6 +14,9 @@ inputs:
channel:
description: 'Docker CE channel. (e.g, stable, edge or test)'
required: false
daemon-config:
description: 'Docker daemon JSON configuration'
required: false
context:
description: 'Docker context name. (default setup-docker-action)'
required: false
Generated Vendored
+3 -3
View File
@@ -1,10 +1,10 @@
require('./sourcemap-register.js');(()=>{var __webpack_modules__={7351:function(r,a,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,a,i,s){if(s===undefined)s=i;Object.defineProperty(r,s,{enumerable:true,get:function(){return a[i]}})}:function(r,a,i,s){if(s===undefined)s=i;r[s]=a[i]});var p=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.hasOwnProperty.call(r,i))s(a,r,i);p(a,r);return a};Object.defineProperty(a,"__esModule",{value:true});a.issue=a.issueCommand=void 0;const l=d(i(2037));const u=i(5278);function issueCommand(r,a,i){const s=new Command(r,a,i);process.stdout.write(s.toString()+l.EOL)}a.issueCommand=issueCommand;function issue(r,a=""){issueCommand(r,{},a)}a.issue=issue;const c="::";class Command{constructor(r,a,i){if(!r){r="missing.command"}this.command=r;this.properties=a;this.message=i}toString(){let r=c+this.command;if(this.properties&&Object.keys(this.properties).length>0){r+=" ";let a=true;for(const i in this.properties){if(this.properties.hasOwnProperty(i)){const s=this.properties[i];if(s){if(a){a=false}else{r+=","}r+=`${i}=${escapeProperty(s)}`}}}}r+=`${c}${escapeData(this.message)}`;return r}}function escapeData(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(r,a,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,a,i,s){if(s===undefined)s=i;Object.defineProperty(r,s,{enumerable:true,get:function(){return a[i]}})}:function(r,a,i,s){if(s===undefined)s=i;r[s]=a[i]});var p=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.hasOwnProperty.call(r,i))s(a,r,i);p(a,r);return a};var l=this&&this.__awaiter||function(r,a,i,s){function adopt(r){return r instanceof i?r:new i((function(a){a(r)}))}return new(i||(i=Promise))((function(i,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?i(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,a||[])).next())}))};Object.defineProperty(a,"__esModule",{value:true});a.getIDToken=a.getState=a.saveState=a.group=a.endGroup=a.startGroup=a.info=a.notice=a.warning=a.error=a.debug=a.isDebug=a.setFailed=a.setCommandEcho=a.setOutput=a.getBooleanInput=a.getMultilineInput=a.getInput=a.addPath=a.setSecret=a.exportVariable=a.ExitCode=void 0;const u=i(7351);const c=i(717);const m=i(5278);const h=d(i(2037));const v=d(i(1017));const g=i(8041);var _;(function(r){r[r["Success"]=0]="Success";r[r["Failure"]=1]="Failure"})(_=a.ExitCode||(a.ExitCode={}));function exportVariable(r,a){const i=m.toCommandValue(a);process.env[r]=i;const s=process.env["GITHUB_ENV"]||"";if(s){return c.issueFileCommand("ENV",c.prepareKeyValueMessage(r,a))}u.issueCommand("set-env",{name:r},i)}a.exportVariable=exportVariable;function setSecret(r){u.issueCommand("add-mask",{},r)}a.setSecret=setSecret;function addPath(r){const a=process.env["GITHUB_PATH"]||"";if(a){c.issueFileCommand("PATH",r)}else{u.issueCommand("add-path",{},r)}process.env["PATH"]=`${r}${v.delimiter}${process.env["PATH"]}`}a.addPath=addPath;function getInput(r,a){const i=process.env[`INPUT_${r.replace(/ /g,"_").toUpperCase()}`]||"";if(a&&a.required&&!i){throw new Error(`Input required and not supplied: ${r}`)}if(a&&a.trimWhitespace===false){return i}return i.trim()}a.getInput=getInput;function getMultilineInput(r,a){const i=getInput(r,a).split("\n").filter((r=>r!==""));if(a&&a.trimWhitespace===false){return i}return i.map((r=>r.trim()))}a.getMultilineInput=getMultilineInput;function getBooleanInput(r,a){const i=["true","True","TRUE"];const s=["false","False","FALSE"];const p=getInput(r,a);if(i.includes(p))return true;if(s.includes(p))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${r}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}a.getBooleanInput=getBooleanInput;function setOutput(r,a){const i=process.env["GITHUB_OUTPUT"]||"";if(i){return c.issueFileCommand("OUTPUT",c.prepareKeyValueMessage(r,a))}process.stdout.write(h.EOL);u.issueCommand("set-output",{name:r},m.toCommandValue(a))}a.setOutput=setOutput;function setCommandEcho(r){u.issue("echo",r?"on":"off")}a.setCommandEcho=setCommandEcho;function setFailed(r){process.exitCode=_.Failure;error(r)}a.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}a.isDeLine truncated
require('./sourcemap-register.js');(()=>{var __webpack_modules__={7351:function(r,a,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,a,i,s){if(s===undefined)s=i;Object.defineProperty(r,s,{enumerable:true,get:function(){return a[i]}})}:function(r,a,i,s){if(s===undefined)s=i;r[s]=a[i]});var p=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.hasOwnProperty.call(r,i))s(a,r,i);p(a,r);return a};Object.defineProperty(a,"__esModule",{value:true});a.issue=a.issueCommand=void 0;const l=d(i(2037));const u=i(5278);function issueCommand(r,a,i){const s=new Command(r,a,i);process.stdout.write(s.toString()+l.EOL)}a.issueCommand=issueCommand;function issue(r,a=""){issueCommand(r,{},a)}a.issue=issue;const c="::";class Command{constructor(r,a,i){if(!r){r="missing.command"}this.command=r;this.properties=a;this.message=i}toString(){let r=c+this.command;if(this.properties&&Object.keys(this.properties).length>0){r+=" ";let a=true;for(const i in this.properties){if(this.properties.hasOwnProperty(i)){const s=this.properties[i];if(s){if(a){a=false}else{r+=","}r+=`${i}=${escapeProperty(s)}`}}}}r+=`${c}${escapeData(this.message)}`;return r}}function escapeData(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(r){return u.toCommandValue(r).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(r,a,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(r,a,i,s){if(s===undefined)s=i;Object.defineProperty(r,s,{enumerable:true,get:function(){return a[i]}})}:function(r,a,i,s){if(s===undefined)s=i;r[s]=a[i]});var p=this&&this.__setModuleDefault||(Object.create?function(r,a){Object.defineProperty(r,"default",{enumerable:true,value:a})}:function(r,a){r["default"]=a});var d=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var i in r)if(i!=="default"&&Object.hasOwnProperty.call(r,i))s(a,r,i);p(a,r);return a};var l=this&&this.__awaiter||function(r,a,i,s){function adopt(r){return r instanceof i?r:new i((function(a){a(r)}))}return new(i||(i=Promise))((function(i,p){function fulfilled(r){try{step(s.next(r))}catch(r){p(r)}}function rejected(r){try{step(s["throw"](r))}catch(r){p(r)}}function step(r){r.done?i(r.value):adopt(r.value).then(fulfilled,rejected)}step((s=s.apply(r,a||[])).next())}))};Object.defineProperty(a,"__esModule",{value:true});a.getIDToken=a.getState=a.saveState=a.group=a.endGroup=a.startGroup=a.info=a.notice=a.warning=a.error=a.debug=a.isDebug=a.setFailed=a.setCommandEcho=a.setOutput=a.getBooleanInput=a.getMultilineInput=a.getInput=a.addPath=a.setSecret=a.exportVariable=a.ExitCode=void 0;const u=i(7351);const c=i(717);const m=i(5278);const h=d(i(2037));const v=d(i(1017));const g=i(8041);var _;(function(r){r[r["Success"]=0]="Success";r[r["Failure"]=1]="Failure"})(_=a.ExitCode||(a.ExitCode={}));function exportVariable(r,a){const i=m.toCommandValue(a);process.env[r]=i;const s=process.env["GITHUB_ENV"]||"";if(s){return c.issueFileCommand("ENV",c.prepareKeyValueMessage(r,a))}u.issueCommand("set-env",{name:r},i)}a.exportVariable=exportVariable;function setSecret(r){u.issueCommand("add-mask",{},r)}a.setSecret=setSecret;function addPath(r){const a=process.env["GITHUB_PATH"]||"";if(a){c.issueFileCommand("PATH",r)}else{u.issueCommand("add-path",{},r)}process.env["PATH"]=`${r}${v.delimiter}${process.env["PATH"]}`}a.addPath=addPath;function getInput(r,a){const i=process.env[`INPUT_${r.replace(/ /g,"_").toUpperCase()}`]||"";if(a&&a.required&&!i){throw new Error(`Input required and not supplied: ${r}`)}if(a&&a.trimWhitespace===false){return i}return i.trim()}a.getInput=getInput;function getMultilineInput(r,a){const i=getInput(r,a).split("\n").filter((r=>r!==""));if(a&&a.trimWhitespace===false){return i}return i.map((r=>r.trim()))}a.getMultilineInput=getMultilineInput;function getBooleanInput(r,a){const i=["true","True","TRUE"];const s=["false","False","FALSE"];const p=getInput(r,a);if(i.includes(p))return true;if(s.includes(p))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${r}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}a.getBooleanInput=getBooleanInput;function setOutput(r,a){const i=process.env["GITHUB_OUTPUT"]||"";if(i){return c.issueFileCommand("OUTPUT",c.prepareKeyValueMessage(r,a))}process.stdout.write(h.EOL);u.issueCommand("set-output",{name:r},m.toCommandValue(a))}a.setOutput=setOutput;function setCommandEcho(r){u.issue("echo",r?"on":"off")}a.setCommandEcho=setCommandEcho;function setFailed(r){process.exitCode=_.Failure;error(r)}a.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}a.isDeLine truncated
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function isObject(r){return Object.prototype.toString.call(r)==="[object Object]"}function isPlainObject(r){var a,i;if(isObject(r)===false)return false;a=r.constructor;if(a===undefined)return true;i=a.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}a.isPlainObject=isPlainObject},4329:r=>{"use strict";function e(r){this.message=r}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var a="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(r){var a=String(r).replace(/=+$/,"");if(a.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,s,p=0,d=0,l="";s=a.charAt(d++);~s&&(i=p%4?64*i+s:s,p++%4)?l+=String.fromCharCode(255&i>>(-2*p&6)):0)s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(s);return l};function t(r){var i=r.replace(/-/g,"+").replace(/_/g,"/");switch(i.length%4){case 0:break;case 2:i+="==";break;case 3:i+="=";break;default:throw"Illegal base64url string!"}try{return function(r){return decodeURIComponent(a(r).replace(/(.)/g,(function(r,a){var i=a.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i})))}(i)}catch(r){return a(i)}}function n(r){this.message=r}function o(r,a){if("string"!=typeof r)throw new n("Invalid token specified");var i=!0===(a=a||{}).header?0:1;try{return JSON.parse(t(r.split(".")[i]))}catch(r){throw new n("Invalid token specified: "+r.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const i=o;i.default=o,i.InvalidTokenError=n,r.exports=i},3973:(r,a,i)=>{r.exports=minimatch;minimatch.Minimatch=Minimatch;var s=function(){try{return i(1017)}catch(r){}}()||{sep:"/"};minimatch.sep=s.sep;var p=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var d=i(3717);var l={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var u="[^/]";var c=u+"*?";var m="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var h="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(r){return r.split("").reduce((function(r,a){r[a]=true;return r}),{})}var g=/\/+/;minimatch.filter=filter;function filter(r,a){a=a||{};return function(i,s,p){return minimatch(i,r,a)}}function ext(r,a){a=a||{};var i={};Object.keys(r).forEach((function(a){i[a]=r[a]}));Object.keys(a).forEach((function(r){i[r]=a[r]}));return i}minimatch.defaults=function(r){if(!r||typeof r!=="object"||!Object.keys(r).length){return minimatch}var a=minimatch;var i=function minimatch(i,s,p){return a(i,s,ext(r,p))};i.Minimatch=function Minimatch(i,s){return new a.Minimatch(i,ext(r,s))};i.Minimatch.defaults=function defaults(i){return a.defaults(ext(r,i)).Minimatch};i.filter=function filter(i,s){return a.filter(i,ext(r,s))};i.defaults=function defaults(i){return a.defaults(ext(r,i))};i.makeRe=function makeRe(i,s){return a.makeRe(i,ext(r,s))};i.braceExpand=function braceExpand(i,s){return a.braceExpand(i,ext(r,s))};i.match=function(i,s,p){return a.match(i,s,ext(r,p))};return i};Minimatch.defaults=function(r){return minimatch.defaults(r).Minimatch};function minimatch(r,a,i){assertValidPattern(a);if(!i)i={};if(!i.nocomment&&a.charAt(0)==="#"){return false}return new Minimatch(a,i).match(r)}function Minimatch(r,a){if(!(this instanceof Minimatch)){return new Minimatch(r,a)}assertValidPattern(r);if(!a)a={};r=r.trim();if(!a.allowWindowsEscape&&s.sep!=="/"){r=r.split(s.sep).join("/")}this.options=a;this.set=[];this.pattern=r;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!a.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var r=this.pattern;var a=this.options;if(!a.nocomment&&r.charAt(0)==="#"){this.comment=true;return}if(!r){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(a.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,i);i=this.globParts=i.map((function(r){return r.split(g)}));this.debug(this.pattern,i);i=i.map((function(r,a,i){return r.map(this.parse,this)}),this);this.debug(this.pattern,i);i=i.filter((function(r){return r.indexOf(false)===-1}));this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var r=this.pattern;var a=false;var i=this.options;var s=0;if(i.nonegate)return;for(var p=0,d=r.length;p<d&&r.charAt(p)==="!";p++){a=!a;s++}if(s)this.pattern=r.substr(s);this.negate=a}minimatch.braceExpand=function(r,a){return braceExpand(r,a)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(r,a){if(!a){if(this instanceof Minimatch){a=this.options}else{a={}}}r=typeof r==="undefined"?this.pattern:r;assertValidPattern(r);if(a.nobrace||!/\{(?:(?!\{).)*\}/.test(r)){return[r]}return d(r)}var _=1024*64;var assertValidPattern=function(r){if(typeof r!=="string"){throw new TypeError("invalid pattern")}if(r.length>_)Line truncated
*/function isObject(r){return Object.prototype.toString.call(r)==="[object Object]"}function isPlainObject(r){var a,i;if(isObject(r)===false)return false;a=r.constructor;if(a===undefined)return true;i=a.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}a.isPlainObject=isPlainObject},1917:(r,a,i)=>{"use strict";var s=i(1161);var p=i(8866);function renamed(r,a){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. "+"Use yaml."+a+" instead, which is now safe by default.")}}r.exports.Type=i(6073);r.exports.Schema=i(1082);r.exports.FAILSAFE_SCHEMA=i(8562);r.exports.JSON_SCHEMA=i(1035);r.exports.CORE_SCHEMA=i(2011);r.exports.DEFAULT_SCHEMA=i(8759);r.exports.load=s.load;r.exports.loadAll=s.loadAll;r.exports.dump=p.dump;r.exports.YAMLException=i(8179);r.exports.types={binary:i(7900),float:i(2705),map:i(6150),null:i(721),pairs:i(6860),set:i(9548),timestamp:i(9212),bool:i(4993),int:i(1615),merge:i(6104),omap:i(9046),seq:i(7283),str:i(3619)};r.exports.safeLoad=renamed("safeLoad","load");r.exports.safeLoadAll=renamed("safeLoadAll","loadAll");r.exports.safeDump=renamed("safeDump","dump")},6829:r=>{"use strict";function isNothing(r){return typeof r==="undefined"||r===null}function isObject(r){return typeof r==="object"&&r!==null}function toArray(r){if(Array.isArray(r))return r;else if(isNothing(r))return[];return[r]}function extend(r,a){var i,s,p,d;if(a){d=Object.keys(a);for(i=0,s=d.length;i<s;i+=1){p=d[i];r[p]=a[p]}}return r}function repeat(r,a){var i="",s;for(s=0;s<a;s+=1){i+=r}return i}function isNegativeZero(r){return r===0&&Number.NEGATIVE_INFINITY===1/r}r.exports.isNothing=isNothing;r.exports.isObject=isObject;r.exports.toArray=toArray;r.exports.repeat=repeat;r.exports.isNegativeZero=isNegativeZero;r.exports.extend=extend},8866:(r,a,i)=>{"use strict";var s=i(6829);var p=i(8179);var d=i(8759);var l=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var c=65279;var m=9;var h=10;var v=13;var g=32;var _=33;var w=34;var y=35;var b=37;var E=38;var S=39;var T=42;var O=44;var k=45;var P=58;var A=61;var D=62;var C=63;var R=64;var N=91;var x=93;var I=96;var L=123;var G=124;var M=125;var j={};j[0]="\\0";j[7]="\\a";j[8]="\\b";j[9]="\\t";j[10]="\\n";j[11]="\\v";j[12]="\\f";j[13]="\\r";j[27]="\\e";j[34]='\\"';j[92]="\\\\";j[133]="\\N";j[160]="\\_";j[8232]="\\L";j[8233]="\\P";var F=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var V=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(r,a){var i,s,p,d,l,c,m;if(a===null)return{};i={};s=Object.keys(a);for(p=0,d=s.length;p<d;p+=1){l=s[p];c=String(a[l]);if(l.slice(0,2)==="!!"){l="tag:yaml.org,2002:"+l.slice(2)}m=r.compiledTypeMap["fallback"][l];if(m&&u.call(m.styleAliases,c)){c=m.styleAliases[c]}i[l]=c}return i}function encodeHex(r){var a,i,d;a=r.toString(16).toUpperCase();if(r<=255){i="x";d=2}else if(r<=65535){i="u";d=4}else if(r<=4294967295){i="U";d=8}else{throw new p("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+i+s.repeat("0",d-a.length)+a}var U=1,B=2;function State(r){this.schema=r["schema"]||d;this.indent=Math.max(1,r["indent"]||2);this.noArrayIndent=r["noArrayIndent"]||false;this.skipInvalid=r["skipInvalid"]||false;this.flowLevel=s.isNothing(r["flowLevel"])?-1:r["flowLevel"];this.styleMap=compileStyleMap(this.schema,r["styles"]||null);this.sortKeys=r["sortKeys"]||false;this.lineWidth=r["lineWidth"]||80;this.noRefs=r["noRefs"]||false;this.noCompatMode=r["noCompatMode"]||false;this.condenseFlow=r["condenseFlow"]||false;this.quotingType=r["quotingType"]==='"'?B:U;this.forceQuotes=r["forceQuotes"]||false;this.replacer=typeof r["replacer"]==="function"?r["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(r,a){var i=s.repeat(" ",a),p=0,d=-1,l="",u,c=r.length;while(p<c){d=r.indexOf("\n",p);if(d===-1){u=r.slice(p);p=c}else{u=r.slice(p,d+1);p=d+1}if(u.length&&u!=="\n")l+=i;l+=u}return l}function generateNextLine(r,a){return"\n"+s.repeat(" ",r.indent*a)}function testImplicitResolving(r,a){var i,s,p;for(i=0,s=r.implicitTypes.length;i<s;i+=1){p=r.implicitTypes[i];if(p.resolve(a)){return true}}return false}function isWhitespace(r){return r===g||r===m}function isPrintable(r){return 32<=r&&r<=126||161<=r&&r<=55295&&r!==8232&&r!==8233||57344<=r&&r<=65533&&r!==c||65536<=r&&r<=1114111}function isNsCharOrWhitespace(r){return isPrintable(r)&&r!==c&&r!==v&&r!==h}function isPlainSafe(r,a,i){var s=isNsCharOrWhitespace(r);var p=s&&!isWhitespace(r);return(i?s:s&&r!==O&&r!==N&&r!==x&&r!==L&&r!==M)&&r!==y&&!(a===P&&!p)||isNsCharOrWhitespace(a)&&!isWhitespace(a)&&r===y||a===P&&p}function isPlainSafeFirst(r){return isPrintable(r)&&r!==c&&!isWhitespace(r)&&r!==k&&r!==C&&r!==P&&r!==O&&r!==N&&r!==x&&r!==L&&r!==M&&r!==y&&r!==E&&r!==T&&r!==_&&r!==G&&r!==A&&r!==D&&r!=Line truncated
/*!
* Tmp
*
@@ -12,5 +12,5 @@ require('./sourcemap-register.js');(()=>{var __webpack_modules__={7351:function(
*
* MIT Licensed
*/
const s=i(7147);const p=i(2037);const d=i(1017);const l=i(6113);const u={fs:s.constants,os:p.constants};const c=i(4959);const m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",h=/XXXXXX/,v=3,g=(u.O_CREAT||u.fs.O_CREAT)|(u.O_EXCL||u.fs.O_EXCL)|(u.O_RDWR||u.fs.O_RDWR),_=p.platform()==="win32",w=u.EBADF||u.os.errno.EBADF,b=u.ENOENT||u.os.errno.ENOENT,y=448,E=384,S="exit",T=[],O=s.rmdirSync.bind(s),k=c.sync;let P=false;function tmpName(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];try{_assertAndSanitizeOptions(p)}catch(r){return d(r)}let l=p.tries;(function _getUniqueName(){try{const r=_generateTmpName(p);s.stat(r,(function(a){if(!a){if(l-- >0)return _getUniqueName();return d(new Error("Could not get a unique tmp filename, max tries reached "+r))}d(null,r)}))}catch(r){d(r)}})()}function tmpNameSync(r){const a=_parseArguments(r),i=a[0];_assertAndSanitizeOptions(i);let p=i.tries;do{const r=_generateTmpName(i);try{s.statSync(r)}catch(a){return r}}while(p-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];tmpName(p,(function _tmpNameCreated(r,a){if(r)return d(r);s.open(a,g,p.mode||E,(function _fileCreated(r,i){if(r)return d(r);if(p.discardDescriptor){return s.close(i,(function _discardCallback(r){return d(r,a,undefined,_prepareTmpFileRemoveCallback(a,-1,p,false))}))}else{const r=p.discardDescriptor||p.detachDescriptor;d(null,a,i,_prepareTmpFileRemoveCallback(a,r?-1:i,p,false))}}))}))}function fileSync(r){const a=_parseArguments(r),i=a[0];const p=i.discardDescriptor||i.detachDescriptor;const d=tmpNameSync(i);var l=s.openSync(d,g,i.mode||E);if(i.discardDescriptor){s.closeSync(l);l=undefined}return{name:d,fd:l,removeCallback:_prepareTmpFileRemoveCallback(d,p?-1:l,i,true)}}function dir(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];tmpName(p,(function _tmpNameCreated(r,a){if(r)return d(r);s.mkdir(a,p.mode||y,(function _dirCreated(r){if(r)return d(r);d(null,a,_prepareTmpDirRemoveCallback(a,p,false))}))}))}function dirSync(r){const a=_parseArguments(r),i=a[0];const p=tmpNameSync(i);s.mkdirSync(p,i.mode||y);return{name:p,removeCallback:_prepareTmpDirRemoveCallback(p,i,true)}}function _removeFileAsync(r,a){const _handler=function(r){if(r&&!_isENOENT(r)){return a(r)}a()};if(0<=r[0])s.close(r[0],(function(){s.unlink(r[1],_handler)}));else s.unlink(r[1],_handler)}function _removeFileSync(r){let a=null;try{if(0<=r[0])s.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throw r}finally{try{s.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))a=r}}if(a!==null){throw a}}function _prepareTmpFileRemoveCallback(r,a,i,s){const p=_prepareRemoveCallback(_removeFileSync,[a,r],s);const d=_prepareRemoveCallback(_removeFileAsync,[a,r],s,p);if(!i.keep)T.unshift(p);return s?p:d}function _prepareTmpDirRemoveCallback(r,a,i){const p=a.unsafeCleanup?c:s.rmdir.bind(s);const d=a.unsafeCleanup?k:O;const l=_prepareRemoveCallback(d,r,i);const u=_prepareRemoveCallback(p,r,i,l);if(!a.keep)T.unshift(l);return i?l:u}function _prepareRemoveCallback(r,a,i,s){let p=false;return function _cleanupCallback(d){if(!p){const l=s||_cleanupCallback;const u=T.indexOf(l);if(u>=0)T.splice(u,1);p=true;if(i||r===O||r===k){return r(a)}else{return r(a,d||function(){})}}}}function _garbageCollector(){if(!P)return;while(T.length){try{T[0]()}catch(r){}}}function _randomChars(r){let a=[],i=null;try{i=l.randomBytes(r)}catch(a){i=l.pseudoRandomBytes(r)}for(var s=0;s<r;s++){a.push(m[i[s]%m.length])}return a.join("")}function _isBlank(r){return r===null||_isUndefined(r)||!r.trim()}function _isUndefined(r){return typeof r==="undefined"}function _parseArguments(r,a){if(typeof r==="function"){return[{},r]}if(_isUndefined(r)){return[{},a]}const i={};for(const a of Object.getOwnPropertyNames(r)){i[a]=r[a]}return[i,a]}function _generateTmpName(r){const a=r.tmpdir;if(!_isUndefined(r.name))return d.join(a,r.dir,r.name);if(!_isUndefined(r.template))return d.join(a,r.dir,r.template).replace(h,_randomChars(6));const i=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");return d.join(a,r.dir,i)}function _assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);const a=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",a);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",a);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",a);if(!r.template.match(h))throw new Error(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)throw new Error(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||v:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":d.relative(a,_resolvePath(r.dir,a));r.template=_isUndefined(r.template)?undefined:d.relative(a,_resolvePath(r.template,a));r.template=_isBlank(r.template)?undefined:d.relative(r.dir,r.template);r.naLine truncated
const s=i(7147);const p=i(2037);const d=i(1017);const l=i(6113);const u={fs:s.constants,os:p.constants};const c=i(4959);const m="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",h=/XXXXXX/,v=3,g=(u.O_CREAT||u.fs.O_CREAT)|(u.O_EXCL||u.fs.O_EXCL)|(u.O_RDWR||u.fs.O_RDWR),_=p.platform()==="win32",w=u.EBADF||u.os.errno.EBADF,y=u.ENOENT||u.os.errno.ENOENT,b=448,E=384,S="exit",T=[],O=s.rmdirSync.bind(s),k=c.sync;let P=false;function tmpName(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];try{_assertAndSanitizeOptions(p)}catch(r){return d(r)}let l=p.tries;(function _getUniqueName(){try{const r=_generateTmpName(p);s.stat(r,(function(a){if(!a){if(l-- >0)return _getUniqueName();return d(new Error("Could not get a unique tmp filename, max tries reached "+r))}d(null,r)}))}catch(r){d(r)}})()}function tmpNameSync(r){const a=_parseArguments(r),i=a[0];_assertAndSanitizeOptions(i);let p=i.tries;do{const r=_generateTmpName(i);try{s.statSync(r)}catch(a){return r}}while(p-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];tmpName(p,(function _tmpNameCreated(r,a){if(r)return d(r);s.open(a,g,p.mode||E,(function _fileCreated(r,i){if(r)return d(r);if(p.discardDescriptor){return s.close(i,(function _discardCallback(r){return d(r,a,undefined,_prepareTmpFileRemoveCallback(a,-1,p,false))}))}else{const r=p.discardDescriptor||p.detachDescriptor;d(null,a,i,_prepareTmpFileRemoveCallback(a,r?-1:i,p,false))}}))}))}function fileSync(r){const a=_parseArguments(r),i=a[0];const p=i.discardDescriptor||i.detachDescriptor;const d=tmpNameSync(i);var l=s.openSync(d,g,i.mode||E);if(i.discardDescriptor){s.closeSync(l);l=undefined}return{name:d,fd:l,removeCallback:_prepareTmpFileRemoveCallback(d,p?-1:l,i,true)}}function dir(r,a){const i=_parseArguments(r,a),p=i[0],d=i[1];tmpName(p,(function _tmpNameCreated(r,a){if(r)return d(r);s.mkdir(a,p.mode||b,(function _dirCreated(r){if(r)return d(r);d(null,a,_prepareTmpDirRemoveCallback(a,p,false))}))}))}function dirSync(r){const a=_parseArguments(r),i=a[0];const p=tmpNameSync(i);s.mkdirSync(p,i.mode||b);return{name:p,removeCallback:_prepareTmpDirRemoveCallback(p,i,true)}}function _removeFileAsync(r,a){const _handler=function(r){if(r&&!_isENOENT(r)){return a(r)}a()};if(0<=r[0])s.close(r[0],(function(){s.unlink(r[1],_handler)}));else s.unlink(r[1],_handler)}function _removeFileSync(r){let a=null;try{if(0<=r[0])s.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throw r}finally{try{s.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))a=r}}if(a!==null){throw a}}function _prepareTmpFileRemoveCallback(r,a,i,s){const p=_prepareRemoveCallback(_removeFileSync,[a,r],s);const d=_prepareRemoveCallback(_removeFileAsync,[a,r],s,p);if(!i.keep)T.unshift(p);return s?p:d}function _prepareTmpDirRemoveCallback(r,a,i){const p=a.unsafeCleanup?c:s.rmdir.bind(s);const d=a.unsafeCleanup?k:O;const l=_prepareRemoveCallback(d,r,i);const u=_prepareRemoveCallback(p,r,i,l);if(!a.keep)T.unshift(l);return i?l:u}function _prepareRemoveCallback(r,a,i,s){let p=false;return function _cleanupCallback(d){if(!p){const l=s||_cleanupCallback;const u=T.indexOf(l);if(u>=0)T.splice(u,1);p=true;if(i||r===O||r===k){return r(a)}else{return r(a,d||function(){})}}}}function _garbageCollector(){if(!P)return;while(T.length){try{T[0]()}catch(r){}}}function _randomChars(r){let a=[],i=null;try{i=l.randomBytes(r)}catch(a){i=l.pseudoRandomBytes(r)}for(var s=0;s<r;s++){a.push(m[i[s]%m.length])}return a.join("")}function _isBlank(r){return r===null||_isUndefined(r)||!r.trim()}function _isUndefined(r){return typeof r==="undefined"}function _parseArguments(r,a){if(typeof r==="function"){return[{},r]}if(_isUndefined(r)){return[{},a]}const i={};for(const a of Object.getOwnPropertyNames(r)){i[a]=r[a]}return[i,a]}function _generateTmpName(r){const a=r.tmpdir;if(!_isUndefined(r.name))return d.join(a,r.dir,r.name);if(!_isUndefined(r.template))return d.join(a,r.dir,r.template).replace(h,_randomChars(6));const i=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");return d.join(a,r.dir,i)}function _assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);const a=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",a);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",a);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",a);if(!r.template.match(h))throw new Error(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)throw new Error(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||v:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":d.relative(a,_resolvePath(r.dir,a));r.template=_isUndefined(r.template)?undefined:d.relative(a,_resolvePath(r.template,a));r.template=_isBlank(r.template)?undefined:d.relative(r.dir,r.template);r.naLine truncated
//# sourceMappingURL=index.js.map
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sources":["../webpack:/docker-setup-docker/node_modules/@actions/core/lib/command.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/core.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/file-command.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/oidc-utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/path-utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/summary.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/index.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/md5.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/nil.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/parse.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/regex.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/rng.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/sha1.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/stringify.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v1.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v3.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v35.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v4.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v5.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/validate.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/version.js","../webpack:/docker-setup-docker/node_modules/@actions/exec/lib/exec.js","../webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/context.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/github.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/internal/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/auth.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/index.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/proxy.js","../webpack:/docker-setup-docker/node_modules/@actions/io/lib/io-util.js","../webpack:/docker-setup-docker/node_modules/@actions/io/lib/io.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/manifest.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/retry-helper.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/tool-cache.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/semver/semver.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/context.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/assets.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/docker.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/install.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/exec.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/github.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/index.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/util.js","../webpack:/docker-setup-docker/node_modules/@octokit/auth-token/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/core/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/endpoint/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/graphql/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/request-error/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/request/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/async-retry/lib/index.js","../webpack:/docker-setup-docker/node_modules/balancedLine truncated
{"version":3,"sources":["../webpack:/docker-setup-docker/node_modules/@actions/core/lib/command.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/core.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/file-command.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/oidc-utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/path-utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/summary.js","../webpack:/docker-setup-docker/node_modules/@actions/core/lib/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/index.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/md5.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/nil.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/parse.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/regex.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/rng.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/sha1.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/stringify.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v1.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v3.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v35.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v4.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/v5.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/validate.js","../webpack:/docker-setup-docker/node_modules/@actions/core/node_modules/uuid/dist/version.js","../webpack:/docker-setup-docker/node_modules/@actions/exec/lib/exec.js","../webpack:/docker-setup-docker/node_modules/@actions/exec/lib/toolrunner.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/context.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/github.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/internal/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/github/lib/utils.js","../webpack:/docker-setup-docker/node_modules/@actions/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/auth.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/index.js","../webpack:/docker-setup-docker/node_modules/@actions/http-client/lib/proxy.js","../webpack:/docker-setup-docker/node_modules/@actions/io/lib/io-util.js","../webpack:/docker-setup-docker/node_modules/@actions/io/lib/io.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/manifest.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/retry-helper.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/lib/tool-cache.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/semver/semver.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../webpack:/docker-setup-docker/node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/context.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/assets.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/docker.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/docker/install.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/exec.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/github.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/index.js","../webpack:/docker-setup-docker/node_modules/@docker/actions-toolkit/lib/util.js","../webpack:/docker-setup-docker/node_modules/@octokit/auth-token/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/core/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/endpoint/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/graphql/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/request-error/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/@octokit/request/dist-node/index.js","../webpack:/docker-setup-docker/node_modules/async-retry/lib/index.js","../webpack:/docker-setup-docker/node_modules/balancedLine truncated
Generated Vendored
+25
View File
@@ -965,6 +965,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
js-yaml
MIT
(The MIT License)
Copyright (C) 2011-2015 by Vitaly Puzrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
jwt-decode
MIT
The MIT License (MIT)
+1 -1
View File
@@ -22,7 +22,7 @@
"license": "Apache-2.0",
"dependencies": {
"@actions/core": "^1.10.0",
"@docker/actions-toolkit": "^0.10.0",
"@docker/actions-toolkit": "^0.12.0-rc.1",
"uuid": "^9.0.0"
},
"devDependencies": {
+2
View File
@@ -3,6 +3,7 @@ import * as core from '@actions/core';
export interface Inputs {
version: string;
channel: string;
daemonConfig?: string;
context: string;
}
@@ -10,6 +11,7 @@ export function getInputs(): Inputs {
return {
version: core.getInput('version') || 'latest',
channel: core.getInput('channel'),
daemonConfig: core.getInput('daemon-config'),
context: core.getInput('context')
};
}
+2 -1
View File
@@ -23,7 +23,8 @@ actionsToolkit.run(
runDir: runDir,
version: input.version,
channel: input.channel || 'stable',
contextName: input.context || 'setup-docker-action'
contextName: input.context || 'setup-docker-action',
daemonConfig: input.daemonConfig
});
let toolDir;
if (!(await Docker.isAvailable()) || input.version) {
+10 -9
View File
@@ -480,10 +480,10 @@
dependencies:
"@cspotcode/source-map-consumer" "0.8.0"
"@docker/actions-toolkit@^0.10.0":
version "0.10.0"
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.10.0.tgz#5a2769ae48c93c689db2b9c665cd9fb80123c419"
integrity sha512-87ivF6QROwDTeWCfIEK+JLkp5H0f/HGuDF4/VlulvZQFARiv344Xi5MBFTAU4Zd3kxKYEE2RwTw01aYDLr08Nw==
"@docker/actions-toolkit@^0.12.0-rc.1":
version "0.12.0-rc.1"
resolved "https://registry.yarnpkg.com/@docker/actions-toolkit/-/actions-toolkit-0.12.0-rc.1.tgz#a6a163770c776db4c32106e497d752b91378cff1"
integrity sha512-/p/zoVOh6UePqtRu49c/bI5oxOfs2GvPL9s8DL5y02swkx6kETEpwyMRbYTalDVlvsTcDJwPF8UbLZRheuaxFA==
dependencies:
"@actions/cache" "^3.2.2"
"@actions/core" "^1.10.0"
@@ -494,8 +494,9 @@
"@actions/tool-cache" "^2.0.1"
"@octokit/plugin-rest-endpoint-methods" "^7.2.3"
async-retry "^1.3.3"
csv-parse "^5.4.0"
csv-parse "^5.5.0"
handlebars "^4.7.8"
js-yaml "^4.1.0"
jwt-decode "^3.1.2"
semver "^7.5.4"
tmp "^0.2.1"
@@ -1576,10 +1577,10 @@ cssstyle@^2.3.0:
dependencies:
cssom "~0.3.6"
csv-parse@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.4.0.tgz#6793210a4a49a9a74b3fde3f9d00f3f52044fd89"
integrity sha512-JiQosUWiOFgp4hQn0an+SBoV9IKdqzhROM0iiN4LB7UpfJBlsSJlWl9nq4zGgxgMAzHJ6V4t29VAVD+3+2NJAg==
csv-parse@^5.5.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-5.5.0.tgz#2313421e69b650dae32a79ac884b20b21ca1d9da"
integrity sha512-RxruSK3M4XgzcD7Trm2wEN+SJ26ChIb903+IWxNOcB5q4jT2Cs+hFr6QP39J05EohshRFEvyzEBoZ/466S2sbw==
data-urls@^2.0.0:
version "2.0.0"