bobbai00 opened a new issue, #4230:
URL: https://github.com/apache/texera/issues/4230

   ## Describe the bug
   
   The `create-release-candidate` workflow uses `git rev-parse --short` to 
generate the image tag written into the Docker Compose bundle's `.env` file. 
This command produces a **variable-length** hash (7-12+ characters depending on 
repo size and hash ambiguity).
   
   However, the `build-and-push-images` workflow uses `sha[:7]` (via GitHub 
API), which **always produces a 7-character** hash for image tags.
   
   This mismatch causes `manifest unknown` errors when users try to `docker 
compose up` with the release bundle, because the images were pushed with a 
7-char tag but the `.env` references a longer hash.
   
   **Example:**
   - Images pushed with tag: `9fd356c` (7 chars)
   - `.env` in release bundle: `IMAGE_TAG=9fd356c3b` (9 chars)
   - Result: `Error response from daemon: manifest unknown`
   
   ## Expected behavior
   
   The release candidate workflow should produce a 7-character commit hash 
consistent with the build workflow, so that `docker compose up` works out of 
the box with the release bundle.
   
   ## Fix
   
   Replace `git rev-parse --short` with `git rev-parse | cut -c1-7` in 
`create-release-candidate.yml`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to