aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-19 19:18:20 +0200
committerGravatar ks129 <[email protected]>2020-12-19 19:18:20 +0200
commit1f48dc42999d67ab084cdcd28bd26636ef04954c (patch)
tree56fe10a370d8aa39812e68e07ad3f1465d5cad49
parentAdd default development value to Git SHA (diff)
Put Git SHA to container on container build
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index b0c03139..da2419e4 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -61,6 +61,8 @@ jobs:
tags: |
ghcr.io/python-discord/sir-lancebot:latest
ghcr.io/python-discord/sir-lancebot:${{ steps.sha_tag.outputs.tag }}
+ build-args: |
+ git_sha=${{ GITHUB_SHA }}
- name: Authenticate with Kubernetes
uses: azure/k8s-set-context@v1