mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-27 17:11:04 +08: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…
x
Reference in New Issue
Block a user