diff --git a/.gitea/workflows/test_image_build_push.yml b/.gitea/workflows/test_image_build_push.yml index 213fa22..f97fdc9 100644 --- a/.gitea/workflows/test_image_build_push.yml +++ b/.gitea/workflows/test_image_build_push.yml @@ -23,7 +23,7 @@ jobs: PATCH=$(echo ${VERSION} | cut -d "." -f 3) NEW_PATCH=$(( ${PATCH} + 1)) echo ${NEW_PATCH} - echo "new_version=$MAJOR.$MINOR.$NEW_PATCH" >> $GITHUB_OUTPUT + echo "new_version=$(echo "${MAJOR}.${MINOR}.${NEW_PATCH}")" >> $GITHUB_OUTPUT echo ${new_version} build: runs-on: ubuntu-latest @@ -44,6 +44,8 @@ jobs: uses: gradle/actions/wrapper-validation@v3 - name: Create and push tag run: | + git config --global user.name "${{gitea.actor}}" + git config --global user.email "${{ gitea.actor }}@users.noreply.github.com" git tag -a ${{ needs.tag.outputs.new_version }} -m "Pushing new version ${{ needs.tag.outputs.new_version }}" git push origin ${{ needs.tag.outputs.new_version }} - name: Log in to Gitea Docker Registry