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