fix tagging of images
All checks were successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/manual/woodpecker/3 Pipeline was successful
ci/woodpecker/manual/woodpecker/1 Pipeline was successful
ci/woodpecker/manual/woodpecker/2 Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-09-25 08:06:21 +02:00
parent 01b9a81305
commit 0d81023a5c
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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 -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* . cp -r nextcloud-docker/$NEXTCLOUD_VERSION/fpm/* .
echo "$full_version" > .tags