diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 9a6dc04..881d722 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -12,7 +12,7 @@ jobs: - name: Parse Caddy version id: version - run: echo "$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' Dockerfile | cut -d ':' -f2)" | tee -a $VERSION + run: echo "VERSION=$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' Dockerfile | cut -d ':' -f2)" >> $GITHUB_ENV - name: Print version run: echo $VERSION