diff --git a/.gitea/workflows/auto-release.yaml b/.gitea/workflows/auto-release.yaml index 2b2d74b..28c7f8d 100644 --- a/.gitea/workflows/auto-release.yaml +++ b/.gitea/workflows/auto-release.yaml @@ -4,7 +4,7 @@ on: push: branches: [ "master" ] paths: - - Makefile + - Dockerfile env: GIT_EMAIL: noreply@cryptic.systems @@ -42,7 +42,7 @@ jobs: id: create_tag if: steps.check_change.outputs.changed == 'true' run: | - defined_tag="$(grep --only-matching --perl-regexp 'DC_VERSION\?=v?[\d]*(\.[\d]*){0,2}' Makefile | cut --delimiter='=' --fields=2)" + defined_tag="$(grep --only-matching --perl-regexp 'ARG DC_VERSION=v?[\d]*(\.[\d]*){0,2}' Dockerfile | cut --delimiter='=' --fields=2)" echo "defined_tag=${defined_tag}" >> $GITHUB_OUTPUT echo "New tag: ${defined_tag}"