pass git revision to build process (#617)

This commit is contained in:
John
2022-07-17 11:14:46 +02:00
parent 76dafd4783
commit bb568abdd4
7 changed files with 23 additions and 8 deletions
+5 -1
View File
@@ -29,6 +29,10 @@ jobs:
-
name: checkout
uses: actions/checkout@v2
-
name: gh-describe
id: gittag
uses: proudust/gh-describe@v1.4.6
-
name: set up QEMU
uses: docker/setup-qemu-action@v1
@@ -46,4 +50,4 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: build
run: cd contrib/docker && LIMITARCH=${{ github.event.inputs.limitarch }} ./build.sh
run: cd contrib/docker && LIMITARCH=${{ github.event.inputs.limitarch }} GIT_REVISION=${{ steps.gittag.outputs.describe }} ./build.sh