fix tags
This commit is contained in:
parent
f29f5fe2ce
commit
1af0a476c9
2 changed files with 2 additions and 4 deletions
|
@ -15,8 +15,7 @@ steps:
|
||||||
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-test
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
||||||
tags: latest
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
|
@ -33,7 +32,6 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASS
|
from_secret: REGISTRY_PASS
|
||||||
repo: git.ar21.de/aaron/nextcloud-fpm
|
repo: git.ar21.de/aaron/nextcloud-fpm
|
||||||
tags: latest
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
|
|
|
@ -20,6 +20,6 @@ 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"
|
||||||
cd /drone/src
|
cd /drone/src
|
||||||
echo $full_version > .tags
|
echo "$full_version,latest" > .tags
|
||||||
echo "move Dockerfile to workdir"
|
echo "move Dockerfile to workdir"
|
||||||
cp -r nextcloud-docker/$major_version/fpm/* .
|
cp -r nextcloud-docker/$major_version/fpm/* .
|
Loading…
Reference in a new issue