We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02cb6db + fe6280f commit 8b95ff0Copy full SHA for 8b95ff0
.github/workflows/main.yml
@@ -29,6 +29,8 @@ jobs:
29
- name: 'Build artifacts'
30
env:
31
DOCKER_PUSH: true
32
+ GIT_SHA: ${{ github.sha }}
33
+ GIT_REF: ${{ github.ref }}
34
run: make dist
35
36
- name: 'Upload artifacts'
Makefile
@@ -1,7 +1,7 @@
1
_all: dist build
2
3
-GIT_REF := $(shell echo "refs/heads/"`git rev-parse --abbrev-ref HEAD`)
4
-GIT_SHA := $(shell echo `git rev-parse --verify HEAD^{commit}`)
+GIT_REF ?= $(shell echo "refs/heads/"`git rev-parse --abbrev-ref HEAD`)
+GIT_SHA ?= $(shell echo `git rev-parse --verify HEAD^{commit}`)
5
6
DOCKER_PUSH ?= false
7
DOCKER_TARGET ?= multi-cloud
0 commit comments