mirror of
https://github.com/docker/build-push-action
synced 2024-11-23 02:31:41 +00:00
Silent command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
1886d9322f
commit
8e7bb4ab28
2 changed files with 2 additions and 2 deletions
2
setup-qemu/dist/index.js
generated
vendored
2
setup-qemu/dist/index.js
generated
vendored
|
@ -1016,7 +1016,7 @@ function run() {
|
||||||
core.info(`💎 Installing QEMU static binaries...`);
|
core.info(`💎 Installing QEMU static binaries...`);
|
||||||
yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
|
yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
|
||||||
core.info('🛒 Extracting available platforms...');
|
core.info('🛒 Extracting available platforms...');
|
||||||
yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => {
|
yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => {
|
||||||
if (res.stderr != '' && !res.success) {
|
if (res.stderr != '' && !res.success) {
|
||||||
throw new Error(res.stderr);
|
throw new Error(res.stderr);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ async function run(): Promise<void> {
|
||||||
await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
|
await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
|
||||||
|
|
||||||
core.info('🛒 Extracting available platforms...');
|
core.info('🛒 Extracting available platforms...');
|
||||||
await exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => {
|
await exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => {
|
||||||
if (res.stderr != '' && !res.success) {
|
if (res.stderr != '' && !res.success) {
|
||||||
throw new Error(res.stderr);
|
throw new Error(res.stderr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue