fix: CI docker image push (#3476)

* fix ghcr app

* fix ghcr runtime push

* rename od_runtime to runtime
This commit is contained in:
Xingyao Wang
2024-08-20 04:53:28 +08:00
committed by GitHub
parent d1d2fb9aca
commit 8f0f764a85
12 changed files with 41 additions and 40 deletions

View File

@@ -27,13 +27,13 @@ echo "Tags: ${tags[@]}"
if [[ "$image_name" == "openhands" ]]; then
dir="./containers/app"
elif [[ "$image_name" == "od_runtime" ]]; then
elif [[ "$image_name" == "runtime" ]]; then
dir="./containers/runtime"
else
dir="./containers/$image_name"
fi
if [[ (! -f "$dir/Dockerfile") && "$image_name" != "od_runtime" ]]; then
if [[ (! -f "$dir/Dockerfile") && "$image_name" != "runtime" ]]; then
# Allow runtime to be built without a Dockerfile
echo "No Dockerfile found"
exit 1