From d011ffa62ed83835ae0088ccb586c9f17d025b80 Mon Sep 17 00:00:00 2001 From: Robin ALEXANDER <64310405+colisee@users.noreply.github.com> Date: Sun, 19 May 2024 19:44:49 +0200 Subject: [PATCH] Fix issue 88 (#89) --- .github/workflows/build_on_request.yml | 6 +++--- .github/workflows/build_on_schedule.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_on_request.yml b/.github/workflows/build_on_request.yml index 775139d..0243b33 100644 --- a/.github/workflows/build_on_request.yml +++ b/.github/workflows/build_on_request.yml @@ -5,12 +5,12 @@ on: inputs: appGitRefs: required: true - description: 'Application git reference' - default: 'refs/heads/develop' + description: 'Librebooking/app git reference' + default: 'develop' imgBuild: required: true description: 'Image build' - default: '2.3.2' + default: '2.4.0' regName: required: true description: 'Registry name' diff --git a/.github/workflows/build_on_schedule.yml b/.github/workflows/build_on_schedule.yml index 08045a8..2230f86 100644 --- a/.github/workflows/build_on_schedule.yml +++ b/.github/workflows/build_on_schedule.yml @@ -9,7 +9,7 @@ jobs: build-develop: uses: ./.github/workflows/build_and_publish.yml with: - appGitRefs: refs/heads/develop + appGitRefs: develop imgBuild: ${{ vars.IMAGE_BUILD }} regName: ${{ vars.REGISTRY_URL }} regLogin: ${{ vars.REGISTRY_LOGIN }} @@ -18,7 +18,7 @@ jobs: build-release: uses: ./.github/workflows/build_and_publish.yml with: - appGitRefs: refs/tags/${{ vars.APP_LAST_RELEASE }} + appGitRefs: ${{ vars.APP_LAST_RELEASE }} imgBuild: ${{ vars.IMAGE_BUILD }} regName: ${{ vars.REGISTRY_URL }} regLogin: ${{ vars.REGISTRY_LOGIN }} diff --git a/Dockerfile b/Dockerfile index 05e2acc..9d995bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,7 @@ RUN set -ex; \ curl \ --fail \ --silent \ - --location https://github.com/LibreBooking/app/archive/${APP_GH_REF}.tar.gz \ + --location https://api.github.com/repos/librebooking/app/tarball/${APP_GH_REF} \ | tar --extract --gzip --directory=/var/www/html --strip-components=1; \ if [ -f /var/www/html/composer.json ]; then \ composer install --ignore-platform-req=ext-gd; \