Compare commits

...

8 commits
new-ci ... main

Author SHA1 Message Date
f24a0a59e4 Automatically update Nextcloud versions
Some checks failed
ci/woodpecker/push/woodpecker/3 Pipeline failed
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
2024-11-08 05:55:04 +00:00
b4ae3d6fb3 Automatically update Nextcloud versions
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
2024-10-18 10:38:55 +00:00
33ef624142
also tag the major version
All checks were successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
2024-10-12 21:07:25 +02:00
36d1f4febd Automatically update Nextcloud versions
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
2024-10-11 02:58:06 +00:00
4229688d65 Automatically update Nextcloud versions
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline failed
2024-09-28 17:38:01 +00:00
0d81023a5c
fix tagging of images
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/manual/woodpecker/3 Pipeline was successful
ci/woodpecker/manual/woodpecker/1 Pipeline was successful
ci/woodpecker/manual/woodpecker/2 Pipeline was successful
2024-09-25 08:06:21 +02:00
01b9a81305 Update Nextcloud Major versions
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
2024-09-24 20:58:33 +00:00
db1f4b7977
fix workdir
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
2024-09-24 22:57:09 +02:00
3 changed files with 48 additions and 41 deletions

View file

@ -2,16 +2,17 @@ when:
- event: [push, manual] - event: [push, manual]
matrix: matrix:
NEXTCLOUD_VERSION: NEXTCLOUD_VERSION:
- 28 - 30
- 29 - 29
- 28
steps: steps:
- name: patch - name: patch
image: debian image: debian
commands: commands:
- "./patch-nextcloud.sh" - "./patch-nextcloud.sh"
environment: environment:
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION} NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION}
- name: docker - name: docker
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
privileged: true privileged: true
settings: settings:
@ -26,7 +27,7 @@ steps:
- linux/amd64 - linux/amd64
when: when:
- branch: main - branch: main
- name: docker-build - name: docker-build
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
privileged: true privileged: true
settings: settings:

View file

@ -5,11 +5,14 @@ echo "==> install git"
apt-get update -q && apt-get install -q -y git && rm -rf /var/lib/apt/lists apt-get update -q && apt-get install -q -y git && rm -rf /var/lib/apt/lists
echo "==> clone nextcloud/docker" echo "==> clone nextcloud/docker"
git clone https://git.ar21.de/aaron/nextcloud-docker.git git clone https://git.ar21.de/aaron/nextcloud-docker.git
# save current workdir
WORKDIR=$(pwd)
echo "==> patch the Dockerfile" echo "==> patch the Dockerfile"
cd "nextcloud-docker/$NEXTCLOUD_VERSION/fpm/" cd "nextcloud-docker/$NEXTCLOUD_VERSION/fpm/"
sed -i "$(awk '/^ENTRYPOINT /{line=NR} END{print line}' Dockerfile)s+^+# begin of patch\nRUN apt-get update\nRUN apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng ocrmypdf libbz2-dev\nRUN docker-php-ext-install bz2\nRUN apt-get clean autoclean\nRUN apt-get autoremove -y\nADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu.traineddata /usr/share/tesseract-ocr/tessdata/\nADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/\n# end of patch\n+" Dockerfile sed -i "$(awk '/^ENTRYPOINT /{line=NR} END{print line}' Dockerfile)s+^+# begin of patch\nRUN apt-get update\nRUN apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng ocrmypdf libbz2-dev\nRUN docker-php-ext-install bz2\nRUN apt-get clean autoclean\nRUN apt-get autoremove -y\nADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu.traineddata /usr/share/tesseract-ocr/tessdata/\nADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/\n# end of patch\n+" Dockerfile
echo "==> determine tags" echo "==> determine tags"
full_version=$(grep -oP '(?<=^ENV NEXTCLOUD_VERSION ).*' Dockerfile) full_version=$(grep -oP '(?<=^ENV NEXTCLOUD_VERSION ).*' Dockerfile)
echo "==> found $full_version" echo "==> found $full_version"
echo "$full_version" > .tags cd $WORKDIR
cp nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* . cp -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
echo "$full_version, $NEXTCLOUD_VERSION" > .tags

3
versions.txt Normal file
View file

@ -0,0 +1,3 @@
30.0.2
29.0.9
28.0.12