Fix Image Name
Some checks failed
Deploy Container Image to Registry / build-image (push) Failing after 36s

Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
This commit is contained in:
Patrick Niebeling
2024-11-19 16:31:00 +01:00
parent 1fcf56bf58
commit c8dcf9a80c

View File

@ -13,7 +13,7 @@ jobs:
echo "[***] Build hook running"
cd ${{ gitea.workspace }}/StableV2/
VERSION=$(git ls-remote --tags -q https://github.com/rspamd/rspamd | sed -n "s/^[[:xdigit:]]\{40\}[[:blank:]]refs\/tags\/\([0-9]\{1\}\.[0-9]\{1,2\}\($\|\.[0-9]\{1,2\}$\)\)/\1/p" | sort --version-sort | tail -1)
IMAGE_NAME=${IMAGE_NAME}
IMAGE_NAME=docker-rspamd
docker build \
--build-arg VERSION=${VERSION} \
--build-arg COMMIT=$(git ls-remote --tags -q https://github.com/rspamd/rspamd | sed -n "s/^\([[:xdigit:]]\{40\}\)[[:blank:]]refs\/tags\/${VERSION}^{}$/\1/p" | xargs git rev-parse --short) \