diff --git a/git-hangman-lab/scripts/publish-package b/git-hangman-lab/scripts/publish-package index c5b804c..4e6838e 100755 --- a/git-hangman-lab/scripts/publish-package +++ b/git-hangman-lab/scripts/publish-package @@ -71,7 +71,7 @@ do_docker() { LOCKFILE="$HOME/.openclaw/.docker" lock-mgr acquire "$LOCKFILE" "$KEY" - trap 'lock-mgr release "$LOCKFILE" "$KEY" 2>/dev/null || true' EXIT + trap 'lock-mgr release "$LOCKFILE" "$KEY" 2>/dev/null || true; docker logout "$REGISTRY" 2>/dev/null || true' EXIT echo "Logging in to $REGISTRY..." docker login "$REGISTRY" -u "$OWNER" -p "$(secret-mgr get-secret --key git)" 2>/dev/null @@ -93,7 +93,6 @@ do_docker() { "https://git.hangman-lab.top/api/v1/packages/${OWNER}/container/${IMAGE}/-/link/${REPO_NAME}" || true lock-mgr release "$LOCKFILE" "$KEY" - echo "Done: $FULL_IMAGE" }