mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-26 12:05:41 +01:00
Silent command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
1886d9322f
commit
8e7bb4ab28
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...`);
|
||||
yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
|
||||
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) {
|
||||
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);
|
||||
|
||||
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) {
|
||||
throw new Error(res.stderr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user