diff --git a/.github/workflows/containers.build.yaml b/.github/workflows/containers.build.yaml index 032f6e90179..af5ae955e87 100644 --- a/.github/workflows/containers.build.yaml +++ b/.github/workflows/containers.build.yaml @@ -114,6 +114,9 @@ jobs: if test -f "./containers/apps/${{ matrix.container }}/VERSION"; then CATEGORY="apps" VERSION=$(cat ./containers/${CATEGORY}/${{ matrix.container }}/VERSION) + elif test -f "./containers/apps/${{ matrix.container }}/get-version.sh"; then + CATEGORY="apps" + VERSION=$(bash ./containers/${CATEGORY}/${{ matrix.container }}/get-version.sh) elif test -f "./containers/apps/${{ matrix.container }}/Dockerfile"; then CATEGORY="apps" echo ::set-output name=category::${CATEGORY} diff --git a/containers/apps/nextcloud-fpm/VERSION b/containers/apps/nextcloud-fpm/VERSION deleted file mode 100644 index 8dd5c17a1b5..00000000000 --- a/containers/apps/nextcloud-fpm/VERSION +++ /dev/null @@ -1 +0,0 @@ -30.0.0 diff --git a/containers/apps/nextcloud-fpm/latest-version.sh b/containers/apps/nextcloud-fpm/get-version.sh similarity index 100% rename from containers/apps/nextcloud-fpm/latest-version.sh rename to containers/apps/nextcloud-fpm/get-version.sh