Compare commits
8 commits
Author | SHA1 | Date | |
---|---|---|---|
f24a0a59e4 | |||
b4ae3d6fb3 | |||
33ef624142 | |||
36d1f4febd | |||
4229688d65 | |||
0d81023a5c | |||
01b9a81305 | |||
db1f4b7977 |
3 changed files with 45 additions and 41 deletions
|
@ -2,44 +2,45 @@ when:
|
|||
- event: [push, manual]
|
||||
matrix:
|
||||
NEXTCLOUD_VERSION:
|
||||
- 28
|
||||
- 30
|
||||
- 29
|
||||
- 28
|
||||
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
|
||||
|
|
|
@ -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 nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
|
||||
cp -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
|
||||
echo "$full_version, $NEXTCLOUD_VERSION" > .tags
|
3
versions.txt
Normal file
3
versions.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
30.0.2
|
||||
29.0.9
|
||||
28.0.12
|
Loading…
Reference in a new issue