Correctly set APP_VERSION

This commit is contained in:
cedb 2022-11-02 18:22:21 -04:00
parent d8c90d362d
commit bb6ab5e580

View file

@ -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