Files
truecharts/containers/apps/nextcloud-fpm/latest-version.sh
T
2024-10-07 14:27:10 +02:00

4 lines
178 B
Bash
Executable File

#!/usr/bin/env bash
version=$(cat ./apps/nextcloud-fpm/Dockerfile | grep "FROM docker.io/nextcloud:" | cut -d ':' -f2 | cut -d '@' -f1 | cut -d '-' -f1)
printf "%s" "${version}"