mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix build for fork (#3660)
This commit is contained in:
parent
ece8fef739
commit
b0e52f121c
1
.github/workflows/ghcr_runtime.yml
vendored
1
.github/workflows/ghcr_runtime.yml
vendored
@ -87,6 +87,7 @@ jobs:
|
||||
./containers/build.sh runtime ${{ github.repository_owner }} --push ${{ matrix.base_image.tag }}
|
||||
# Forked repos can't push to GHCR, so we need to upload the image as an artifact
|
||||
- name: Build runtime image ${{ matrix.base_image.image }} for fork
|
||||
if: "github.event.pull_request.head.repo.fork"
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
tags: ghcr.io/all-hands-ai/runtime:${{ github.sha }}-${{ matrix.base_image.tag }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user