reintroduce GIT_SHA to container

This commit is contained in:
Brandon Thomas committed 2023-01-14 22:42:09 -05:00
1 parent 9015efdf9e
commit 2909e2dbb4
1 file changed
+2
+2
View File
@@ -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: |