From 2909e2dbb408efda7ba223d971aa7772bb0a528a Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 14 Jan 2023 22:42:09 -0500 Subject: [PATCH] reintroduce GIT_SHA to container --- .github/workflows/docker-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 42294a99e8..791a57f79d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -67,6 +67,8 @@ jobs: # NB: The `git_push_tag: true` option does not work as expected, so we put the sha in `image_tag`: # https://github.com/whoan/docker-build-with-cache-action/issues/72 image_tag: latest,${{ github.sha }},${{ steps.vars.outputs.sha_short }} + # NB: Inject the Git SHA into the container so the servers can emit their own version: + build_extra_args: "--build-arg GET_SHA=${{ github.sha }}" # - name: Build image # run: |