Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix - Tag enterprise with the same SHA as app image. (#10921)

Ray Myersddb2794adfe6
diff --git a/.github/workflows/ghcr-build.yml b/.github/workflows/ghcr-build.yml
index d037c6b6be..82bf9ff6b3 100644
--- a/.github/workflows/ghcr-build.yml
+++ b/.github/workflows/ghcr-build.yml
@@ -176,8 +176,10 @@ jobs:
# Do not build enterprise in forks
if: github.event.pull_request.head.repo.fork != true
steps:
- - name: Checkout repository
+ - name: Checkout
uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.pull_request.head.sha }}
# Set up Docker Buildx for better performance
- name: Set up Docker Buildx