mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-19 08:16:37 +00:00
add missing vmID in form data
This commit is contained in:
parent
417c6d6fdf
commit
0f425d2ea6
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -135,6 +135,7 @@ async function getStickyDisk(dockerfilePath: string, retryCondition: (error: Axi
|
|||||||
formData.append('stickyDiskKey', dockerfilePath);
|
formData.append('stickyDiskKey', dockerfilePath);
|
||||||
formData.append('region', process.env.BLACKSMITH_REGION || 'eu-central');
|
formData.append('region', process.env.BLACKSMITH_REGION || 'eu-central');
|
||||||
formData.append('installationModelID', process.env.BLACKSMITH_INSTALLATION_MODEL_ID || '');
|
formData.append('installationModelID', process.env.BLACKSMITH_INSTALLATION_MODEL_ID || '');
|
||||||
|
formData.append('vmID', process.env.VM_ID || '');
|
||||||
core.info(`Getting sticky disk for ${dockerfilePath}`);
|
core.info(`Getting sticky disk for ${dockerfilePath}`);
|
||||||
core.info(`Form data: ${JSON.stringify(formData)}`);
|
core.info(`Form data: ${JSON.stringify(formData)}`);
|
||||||
const response = await getWithRetry(client, '/stickydisks', formData, retryCondition, options);
|
const response = await getWithRetry(client, '/stickydisks', formData, retryCondition, options);
|
||||||
|
Loading…
Reference in New Issue
Block a user