fix: hide podman pull errors
All checks were successful
Build container / build (push) Successful in 9m10s
All checks were successful
Build container / build (push) Successful in 9m10s
This commit is contained in:
parent
a69e237bd6
commit
d74c7565bd
2
enter.sh
2
enter.sh
@ -59,7 +59,7 @@ done
|
||||
|
||||
if [ "$fetch" = true ] || [ "$(podman container inspect "$name" -f {{.State.Running}} 2>&1)" != 'true' ]; then
|
||||
log "fetching devcontainer updates..."
|
||||
if [ "$(podman pull -q "$image")" != "$(podman container inspect "$name" -f {{.Image}} 2>&1)" ]; then
|
||||
if [ "$(podman pull -q "$image" 2>&1)" != "$(podman container inspect "$name" -f {{.Image}} 2>&1)" ]; then
|
||||
log "container image downloaded" '✓' 32
|
||||
podman container rm -f -t 1 "$name" 1>/dev/null
|
||||
podman run -td $(run_args) "$image"
|
||||
|
Loading…
Reference in New Issue
Block a user