Skip to content

Commit 08ff8f5

Browse files
authored
ci: build and publish container image in release workflow (#608)
* ci: fix binary path in container prepare step * ci: fix binary path for container image preparation
1 parent 02cb7bf commit 08ff8f5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ jobs:
6363
env:
6464
VERSION: ${{ github.ref_name }}
6565
run: |
66-
cp "dist/pipeleek_${VERSION}_linux_amd64" pipeleek_amd64
67-
cp "dist/pipeleek_${VERSION}_linux_arm64" pipeleek_arm64
66+
VERSION_NO_V="${VERSION#v}"
67+
cp "dist/pipeleek_${VERSION_NO_V}_linux_amd64" pipeleek_amd64
68+
cp "dist/pipeleek_${VERSION_NO_V}_linux_arm64" pipeleek_arm64
6869
chmod +x pipeleek_amd64 pipeleek_arm64
6970
- name: Build and push container image
7071
if: ${{ startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)