fix: tolerate latest tag push failure in CI
Some checks failed
CI / check (push) Successful in 1m34s
CI / build-and-cache (push) Successful in 1m19s
CI / Build & Push OpenClaw Image (push) Failing after 13m51s
CI / Deploy OpenClaw to Cluster (push) Has been skipped

Large image layers can timeout on retry. The versioned tag push
is what matters for deployment; :latest is cosmetic.
This commit is contained in:
2026-04-20 10:00:47 -07:00
parent dc9e65f7f1
commit 618e6c7fd6

View File

@@ -159,7 +159,11 @@ jobs:
- name: Push image
run: |
docker push registry.johnogle.info/openclaw:${{ steps.meta.outputs.tag }}
docker push registry.johnogle.info/openclaw:latest
# Push latest tag separately — large images can timeout if pushed
# back-to-back. The versioned tag push above populates the registry
# layer cache, so this is mostly a manifest push.
docker push registry.johnogle.info/openclaw:latest || \
echo "::warning::Failed to push :latest tag (versioned tag already pushed)"
deploy-openclaw:
name: Deploy OpenClaw to Cluster