Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
2e66cc4fd0 |
3 changed files with 41 additions and 45 deletions
|
@ -2,17 +2,16 @@ when:
|
|||
- event: [push, manual]
|
||||
matrix:
|
||||
NEXTCLOUD_VERSION:
|
||||
- 30
|
||||
- 29
|
||||
- 28
|
||||
- 29
|
||||
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:
|
||||
|
@ -27,7 +26,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"
|
||||
cd $WORKDIR
|
||||
cp -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
|
||||
echo "$full_version" > .tags
|
||||
cd $WORKDIR
|
||||
cp nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
|
|
@ -1,3 +0,0 @@
|
|||
30.0.0
|
||||
29.0.7
|
||||
28.0.10
|
Loading…
Reference in a new issue