Compare commits

..

2 Commits

Author SHA1 Message Date
CrazyMax
b560fcd461
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-24 14:15:25 +02:00
CrazyMax
f5a847d02a
setup regctl and undock
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-04-24 14:15:25 +02:00
3 changed files with 4 additions and 11 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -13,9 +13,6 @@ import {Undock} from '@docker/actions-toolkit/lib/undock/undock';
import * as context from './context';
import * as stateHelper from './state-helper';
const regctlDefaultVersion = 'v0.8.3';
const undockDefaultVersion = 'v0.10.0';
actionsToolkit.run(
// main
async () => {
@ -30,9 +27,7 @@ actionsToolkit.run(
await core.group(`Download and install regctl`, async () => {
const regclientInstall = new RegclientInstall();
const regclientBinPath = await regclientInstall.download(
process.env.REGCTL_VERSION && process.env.REGCTL_VERSION.trim()
? process.env.REGCTL_VERSION
: regctlDefaultVersion,
process.env.REGCTL_VERSION && process.env.REGCTL_VERSION.trim() ? process.env.REGCTL_VERSION : 'v0.8.3',
true
);
await regclientInstall.install(regclientBinPath);
@ -40,9 +35,7 @@ actionsToolkit.run(
await core.group(`Download and install undock`, async () => {
const undockInstall = new UndockInstall();
const undockBinPath = await undockInstall.download(
process.env.UNDOCK_VERSION && process.env.UNDOCK_VERSION.trim()
? process.env.UNDOCK_VERSION
: undockDefaultVersion,
process.env.UNDOCK_VERSION && process.env.UNDOCK_VERSION.trim() ? process.env.UNDOCK_VERSION : 'v0.10.0',
true
);
await undockInstall.install(undockBinPath);