@@ -52,26 +52,23 @@ jobs:
52
52
run : echo $DOCKER_HUB_ACCESS_TOKEN | docker login -u $DOCKER_HUB_USERNAME --password-stdin
53
53
54
54
- name : Get the version
55
- uses :
little-core-labs/[email protected]
56
55
id : get_version
57
- with :
58
- tagRegex : " v(.*)"
59
- tagRegexGroup : 1
56
+ run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
60
57
61
58
- name : Release Deployment YAML file
62
59
run : make release
63
60
env :
64
- VERSION : ${{ steps.get_version.outputs.tag }}
61
+ VERSION : ${{ steps.get_version.outputs.VERSION }}
65
62
66
63
- name : Publish KEDA images on GitHub Container Registry
67
64
run : make publish
68
65
env :
69
- VERSION : ${{ steps.get_version.outputs.tag }}
66
+ VERSION : ${{ steps.get_version.outputs.VERSION }}
70
67
71
68
- name : Publish KEDA images on Docker Hub
72
69
run : make publish-dockerhub
73
70
env :
74
- VERSION : ${{ steps.get_version.outputs.tag }}
71
+ VERSION : ${{ steps.get_version.outputs.VERSION }}
75
72
76
73
# Get release information to determine id of the current release
77
74
- name : Get Release
87
84
env :
88
85
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89
86
with :
90
- upload_url : https://uploads.github.com/repos/kedacore/keda/releases/${{ steps.get-release-info.outputs.id }}/assets?name=keda-${{ steps.get_version.outputs.tag }}.yaml
91
- asset_path : keda-${{ steps.get_version.outputs.tag }}.yaml
92
- asset_name : keda-${{ steps.get_version.outputs.tag }}.yaml
87
+ upload_url : https://uploads.github.com/repos/kedacore/keda/releases/${{ steps.get-release-info.outputs.id }}/assets?name=keda-${{ steps.get_version.outputs.VERSION }}.yaml
88
+ asset_path : keda-${{ steps.get_version.outputs.VERSION }}.yaml
89
+ asset_name : keda-${{ steps.get_version.outputs.VERSION }}.yaml
93
90
asset_content_type : application/x-yaml
0 commit comments