mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-01 07:58:23 +00:00
reintroduce GIT_SHA to container
This commit is contained in:
1 parent
9015efdf9e
commit
2909e2dbb4
1 file changed
+2
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user