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]
|
- 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:
|
||||||
registry: git.ar21.de
|
registry: git.ar21.de
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASS
|
from_secret: REGISTRY_PASS
|
||||||
repo: git.ar21.de/aaron/nextcloud-fpm
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- 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:
|
||||||
registry: git.ar21.de
|
registry: git.ar21.de
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASS
|
from_secret: REGISTRY_PASS
|
||||||
repo: git.ar21.de/aaron/nextcloud-fpm
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
- branch:
|
- branch:
|
||||||
exclude: main
|
exclude: main
|
||||||
|
|
|
@ -13,6 +13,6 @@ sed -i "$(awk '/^ENTRYPOINT /{line=NR} END{print line}' Dockerfile)s+^+# begin o
|
||||||
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
|
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