From 84cfbc8a4385b884a68148525c652cfb07ddbd31 Mon Sep 17 00:00:00 2001 From: Marlon Saglia Date: Thu, 27 Feb 2025 10:51:11 +0100 Subject: [PATCH] fix: update mend.yaml to exclude tag from project name --- .github/workflows/mend.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mend.yaml b/.github/workflows/mend.yaml index 4cca13e..06935af 100644 --- a/.github/workflows/mend.yaml +++ b/.github/workflows/mend.yaml @@ -43,8 +43,9 @@ jobs: run: | echo "Scanning image ${IMAGE}" - # Project is everything after the last slash (typically: vespa...:8) + # Project is everything after the last slash, excluding the tag MEND_PROJECT=${IMAGE##*/} + MEND_PROJECT=${MEND_PROJECT%:*} echo "Project: ${MEND_PROJECT}" # Application is everything before the last slash (typically: docker.io/vespaengine)