aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-20 16:04:09 +0200
committerGravatar ks129 <[email protected]>2020-12-20 16:04:09 +0200
commitb588af9b89768fc4aac005fdf6cb9a37e6d36d7f (patch)
tree54ac868d293e77f840c2c40ec56ce6814d9ff107
parentInject Git SHA to environment from build argument (diff)
Add Git SHA build argument to Docker build in workflow
-rw-r--r--.github/workflows/lint-test-build-push.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/lint-test-build-push.yaml b/.github/workflows/lint-test-build-push.yaml
index 22f50d7..5590156 100644
--- a/.github/workflows/lint-test-build-push.yaml
+++ b/.github/workflows/lint-test-build-push.yaml
@@ -170,6 +170,8 @@ jobs:
tags: |
ghcr.io/python-discord/snekbox:latest
ghcr.io/python-discord/snekbox:${{ steps.sha_tag.outputs.tag }}
+ build-args: |
+ git_sha=${{ GITHUB_SHA }}
# Deploy to Kubernetes
- name: Authenticate with Kubernetes