Compare commits

..

1 commit
main ... new-ci

Author SHA1 Message Date
2e66cc4fd0
fix workdir
Some checks failed
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
2024-09-24 22:55:25 +02:00
3 changed files with 41 additions and 45 deletions

View file

@ -2,45 +2,44 @@ when:
- event: [push, manual]
matrix:
NEXTCLOUD_VERSION:
- 30
- 29
- 28
- 29
steps:
- name: patch
image: debian
commands:
- "./patch-nextcloud.sh"
environment:
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION}
- name: docker
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nextcloud-fpm
platforms:
- linux/arm64
- linux/amd64
when:
- branch: main
- name: docker-build
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nextcloud-fpm
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
- branch:
exclude: main
- name: patch
image: debian
commands:
- "./patch-nextcloud.sh"
environment:
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION}
- name: docker
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nextcloud-fpm
platforms:
- linux/arm64
- linux/amd64
when:
- branch: main
- name: docker-build
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nextcloud-fpm
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
- branch:
exclude: main

View file

@ -13,6 +13,6 @@ 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
cd $WORKDIR
cp -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
echo "$full_version" > .tags
cp nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .

View file

@ -1,3 +0,0 @@
30.0.0
29.0.7
28.0.10