diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44d0f3a2..c26f2c4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Get current version from gradle - run: APP_VERSION=$(./gradlew --no-daemon properties -q | grep "version:" | awk '{print $2}') && echo $APP_VERSION + run: echo "APP_VERSION=$(./gradlew --no-daemon properties -q | grep "version:" | awk '{print $2}')" >> $GITHUB_ENV - name: Build and push uses: docker/build-push-action@v3