From f93edaf78e565105734b35e1c5a10d9fafd1df91 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Fri, 5 Jun 2026 12:33:30 +0200 Subject: [PATCH] fix(ci): ensure that DC_VERSION is only parsed once --- .gitea/workflows/auto-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/auto-release.yaml b/.gitea/workflows/auto-release.yaml index 39cf37e..36cc8cf 100644 --- a/.gitea/workflows/auto-release.yaml +++ b/.gitea/workflows/auto-release.yaml @@ -43,7 +43,7 @@ jobs: id: create_tag if: steps.check_change.outputs.changed == 'true' run: | - defined_tag="$(grep --only-matching --perl-regexp 'ARG DC_VERSION=v?[\d]*(\.[\d]*){0,2}' Dockerfile | cut --delimiter='=' --fields=2)" + defined_tag="$(grep --only-matching --perl-regexp 'ARG DC_VERSION=v?[\d]*(\.[\d]*){0,2}' Dockerfile | head --lines 1 | cut --delimiter='=' --fields=2)" echo "defined_tag=${defined_tag}" >> $GITHUB_OUTPUT echo "New tag: ${defined_tag}"