aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-27 20:17:57 +0200
committerGravatar ks129 <[email protected]>2020-12-27 20:17:57 +0200
commite2a494f4e491a0b3a1007d348eb884a413f67a06 (patch)
treeff057da511914bfd61fbca36e741327be395d523 /.github
parentAdd Git SHA build argument consuming to Dockerfile (diff)
Inject Git SHA to image during building
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/forms-backend.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml
index 1d7502b..80c53d6 100644
--- a/.github/workflows/forms-backend.yml
+++ b/.github/workflows/forms-backend.yml
@@ -105,6 +105,8 @@ jobs:
tags: |
ghcr.io/python-discord/forms-backend:latest
ghcr.io/python-discord/forms-backend:${{ steps.sha_tag.outputs.tag }}
+ build-args: |
+ git_sha=${{ github.sha }}
deploy:
name: Deployment