Skip to content

Add the short SHA to develop containers. #14

Add the short SHA to develop containers.

Add the short SHA to develop containers. #14

Triggered via pull request March 4, 2026 23:46
Status Failure
Total duration 1m 0s
Artifacts 1

build_pull_request.yml

on: pull_request
check_build
58s
check_build
Fit to window
Zoom out
Zoom in

Annotations

1 error
check_build
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c #################################################################################\nset -xeuo pipefail\nLB_TARBALL_URL=\"https://api.github.com/repos/LibreBooking/librebooking/tarball/${APP_GH_REF}\" \\\ncurl \\\n --fail \\\n --silent \\\n --location ${LB_TARBALL_URL} \\\n| tar --extract --gzip --directory=/var/www/html --strip-components=1\nif [ \"${APP_GH_ADD_SHA}\" = \"true\" ]; then \\\n LB_SHORT_SHA=\"\" \\\n # TARBALL_FILENAME will be like the result of a `git describe` For\n # example: 'LibreBooking-librebooking-v4.1.0-126-g6cc8a4c.tar.gz' where\n # 'g6cc8a4c' is the short SHA prefixed with 'g'. So the short SHA is\n # '6cc8a4c'\n TARBALL_FILENAME=$(\\\n curl \\\n --head \\\n --fail \\\n --silent \\\n --show-error \\\n --location ${LB_TARBALL_URL} \\\n | sed -nE 's/.*filename=\"?([^\";]+)\"?.*/\\1/p' \\\n | tail -n1) \\\n echo TARBALL_FILENAME ${TARBALL_FILENAME} \\\n LB_SHORT_SHA=$(echo $TARBALL_FILENAME | sed -E 's/.*-g([0-9a-f]+)\\.tar\\.gz/\\1/') \\\n if [ -n \"${LB_SHORT_SHA}\" ]; then \\\n printf '%s\\n' \"${LB_SHORT_SHA}\" > /var/www/html/config/version-suffix.txt \\\n else \\\n echo ERROR determining the LB_SHORT_SHA value; \\\n fi \\\nfi \\\nif [ -f /var/www/html/composer.json ]; then\n sed \\\n -i /var/www/html/composer.json \\\n -e \"s:\\(.*\\)nickdnk/graph-sdk\\(.*\\)7.0\\(.*\\):\\1joelbutcher/facebook-graph-sdk\\26.1\\3:\"\n composer install\nfi\nsed \\\n -i /var/www/html/database_schema/create-user.sql \\\n -e \"s:^DROP USER ':DROP USER IF EXISTS ':g\" \\\n -e \"s:booked_user:schedule_user:g\" \\\n -e \"s:localhost:%:g\"\nif ! [ -d /var/www/html/tpl_c ]; then\n mkdir /var/www/html/tpl_c\nfi\nmkdir /var/www/html/Web/uploads/reservation\n" did not complete successfully: exit code: 2

Artifacts

Produced during runtime
Name Size Digest
LibreBooking~docker~K09D0L.dockerbuild Expired
69.5 KB
sha256:d7b93028acfe214050c3e41f9f2994ba0c039c60085ff8f1cb07156b157ccc91