diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b729196..a830a234 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,7 +84,7 @@ jobs: - name: Prepare version file run: | - scripts/generate-build-info.sh ${{ github.ref }} + scripts/generate-build-info.sh ${{ github.sha }} cat app/build_info.py - name: Test with pytest @@ -123,7 +123,7 @@ jobs: - name: Prepare version file run: | - scripts/generate-build-info.sh ${{ github.ref }} + scripts/generate-build-info.sh ${{ github.sha }} cat app/build_info.py - name: Build image and publish to Docker Registry