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 7ea8ddc commit 8a6d7e7Copy full SHA for 8a6d7e7
.github/workflows/release-cpo.yaml
@@ -27,9 +27,13 @@ jobs:
27
username: ${{ secrets.DOCKER_USERNAME }}
28
password: ${{ secrets.DOCKER_PASSWORD }}
29
30
+ - name: Get the version from ref
31
+ id: get_version
32
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
33
+
34
- name: build & publish images
35
run: |
- REGISTRY=docker.io/k8scloudprovider ARCHS='amd64 arm arm64 ppc64le s390x' GOOS=linux VERSION=${{ github.event.release.tag_name }} make upload-images
36
+ REGISTRY=docker.io/k8scloudprovider ARCHS='amd64 arm arm64 ppc64le s390x' GOOS=linux VERSION=${{ steps.get_version.outputs.VERSION }} make upload-images
37
38
- name: Create Release
39
id: create_release
0 commit comments