diff --git a/.github/workflows/actions-docker.yml b/.github/workflows/actions-docker.yml index 18c90ae..17dc7b4 100644 --- a/.github/workflows/actions-docker.yml +++ b/.github/workflows/actions-docker.yml @@ -19,7 +19,7 @@ jobs: run: | LAST_RELEASE=$(gh release view --json=tagName | jq -r '.tagName') LAST_DATE=$(echo $LAST_RELEASE|sed 's/-.*$//') - LAST_COUNTER=$(echo $LAST_RELEASE|sed 's/.*-*//') + LAST_COUNTER=$(echo $LAST_RELEASE|sed 's/.*-//') if [ "$LAST_DATE" = "$DATE" ] then echo "counter=$(($LAST_COUNTER +1))" >$GITHUB_OUTPUT