fix tags
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Aaron Riedel 2024-07-24 13:26:49 +02:00
parent f29f5fe2ce
commit 1af0a476c9
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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/* .