mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
19 lines
364 B
Bash
19 lines
364 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
trap "sleep 1; continue" ERR
|
||
|
|
||
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/websoft9/credentials; do
|
||
|
sleep 1
|
||
|
done
|
||
|
|
||
|
|
||
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/path/to/credentials; do
|
||
|
sleep 1
|
||
|
done
|
||
|
|
||
|
|
||
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/path/to/credentials; do
|
||
|
sleep 1
|
||
|
done
|