From 618c9aa2ed8f90a076005789fb2070042eb95657 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 24 Sep 2024 22:39:07 +0200 Subject: [PATCH] copy files to root dir again --- .woodpecker.yaml | 4 ---- patch-nextcloud.sh | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index e968b48..5c1d114 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -21,8 +21,6 @@ steps: password: from_secret: REGISTRY_PASS repo: git.ar21.de/aaron/nextcloud-fpm - dockerfile: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/Dockerfile" - tags_file: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/.tags" platforms: - linux/arm64 - linux/amd64 @@ -38,8 +36,6 @@ steps: password: from_secret: REGISTRY_PASS repo: git.ar21.de/aaron/nextcloud-fpm - dockerfile: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/Dockerfile" - tags_file: "nextcloud-docker/${NEXTCLOUD_VERSION}/fpm/.tags" platforms: - linux/arm64 - linux/amd64 diff --git a/patch-nextcloud.sh b/patch-nextcloud.sh index 1b913e5..45f041e 100755 --- a/patch-nextcloud.sh +++ b/patch-nextcloud.sh @@ -11,4 +11,5 @@ sed -i "$(awk '/^ENTRYPOINT /{line=NR} END{print line}' Dockerfile)s+^+# begin o echo "==> determine tags" full_version=$(grep -oP '(?<=^ENV NEXTCLOUD_VERSION ).*' Dockerfile) echo "==> found $full_version" -echo "$full_version" > .tags \ No newline at end of file +echo "$full_version" > .tags +cp nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* . \ No newline at end of file