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.
1 parent 9a59b63 commit 7456847Copy full SHA for 7456847
.github/workflows/release.yaml
@@ -37,6 +37,10 @@ jobs:
37
env:
38
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
40
+ - name: Get the version to publish
41
+ id: get_version
42
+ run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
43
+
44
- name: Log in to the Container registry
45
uses: docker/login-action@v1
46
with:
@@ -50,4 +54,4 @@ jobs:
50
54
- name: Build and push Docker image
51
55
run: make publish
52
56
53
- VERSION: ${GITHUB_REF#refs/tags/v}
57
+ VERSION: ${{ steps.get_version.outputs.VERSION }}
0 commit comments