π OpenHands: AI-Driven Development
Optimize runtime build (#12531)
Tim O'Farrellaf60183f2210
diff --git a/.github/workflows/ghcr-build.yml b/.github/workflows/ghcr-build.ymlindex f5eea43332..af092e0dbe 100644--- a/.github/workflows/ghcr-build.yml+++ b/.github/workflows/ghcr-build.yml@@ -39,8 +39,7 @@ jobs:run: |if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; thenjson=$(jq -n -c '[- { image: "nikolaik/python-nodejs:python3.12-nodejs22", tag: "nikolaik" },- { image: "ubuntu:24.04", tag: "ubuntu" }+ { image: "nikolaik/python-nodejs:python3.12-nodejs22", tag: "nikolaik" }]')elsejson=$(jq -n -c '[@@ -149,6 +148,9 @@ jobs:push: truetags: ${{ env.DOCKER_TAGS }}platforms: ${{ env.DOCKER_PLATFORM }}+ # Caching directives to boost performance+ cache-from: type=registry,ref=ghcr.io/${{ env.REPO_OWNER }}/runtime:buildcache-${{ matrix.base_image.tag }}+ cache-to: type=registry,ref=ghcr.io/${{ env.REPO_OWNER }}/runtime:buildcache-${{ matrix.base_image.tag }},mode=maxbuild-args: ${{ env.DOCKER_BUILD_ARGS }}context: containers/runtimeprovenance: false