diff options
author | 2020-12-20 16:04:09 +0200 | |
---|---|---|
committer | 2020-12-20 16:04:09 +0200 | |
commit | b588af9b89768fc4aac005fdf6cb9a37e6d36d7f (patch) | |
tree | 54ac868d293e77f840c2c40ec56ce6814d9ff107 | |
parent | Inject 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.yaml | 2 |
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 |