|
|
@ -37,7 +37,7 @@ else |
|
|
|
name=$image |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ $FLAGS_config == $FLAGS_TRUE ]]; then |
|
|
|
if [[ $FLAGS_config -eq $FLAGS_TRUE ]]; then |
|
|
|
echo "Getting deploy options from image metadata label \"$FLAGS_label\" ..." |
|
|
|
deployopts=$(podman image inspect -f "{{ .Config.Labels.${FLAGS_label} }}" $image) |
|
|
|
if [[ $deployopts == "<no value>" ]]; then |
|
|
@ -48,7 +48,7 @@ else |
|
|
|
deployopts="" |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ $FLAGS_overwrite ]]; then |
|
|
|
if [[ $FLAGS_overwrite -eq $FLAGS_TRUE ]]; then |
|
|
|
podman rm -i -f $name |
|
|
|
fi |
|
|
|
|
|
|
|