mirror of
https://github.com/docker/setup-docker-action.git
synced 2026-01-31 16:04:56 +01:00
daemon-config input
This commit is contained in:
@@ -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')
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user