aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-20 09:00:32 +0200
committerGravatar ks129 <[email protected]>2020-12-20 09:00:32 +0200
commit8da34233fe7d129ee199efdaa92ea9fc67a0e35f (patch)
tree805531164fc77c750e9db7c48f12056fefac5b68
parentConsume Git SHA build arg and add to it to environment (diff)
Inject Git SHA in container build workflow
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6152f1543..25bcce848 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -55,3 +55,5 @@ jobs:
tags: |
ghcr.io/python-discord/bot:latest
ghcr.io/python-discord/bot:${{ steps.sha_tag.outputs.tag }}
+ build-args: |
+ git_sha=${{ GITHUB_SHA }}