From 78188f172053841bcf30ac65b672a12a8f11f97f Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Fri, 17 Dec 2021 14:57:29 +0100 Subject: [PATCH] Inject calver into the app build --- .github/workflows/image-make-and-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/image-make-and-publish.yml b/.github/workflows/image-make-and-publish.yml index 6369472..5433a76 100644 --- a/.github/workflows/image-make-and-publish.yml +++ b/.github/workflows/image-make-and-publish.yml @@ -74,6 +74,8 @@ jobs: uses: docker/build-push-action@v2 with: context: . + build-args: | + APP_VERSION=${{ steps.calver.outputs.current }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}