Skip to content

Commit 3e39c95

Browse files
committed
let bundle accept version
1 parent 5ec725e commit 3e39c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: createVersion
2626
run: |
2727
echo "VERSION=$(git describe --tag --always)" >> $GITHUB_ENV
28+
echo "CLEAN_VERSION=$(git describe --tag --always | sed s/^v//)" >> $GITHUB_ENV
2829
2930
- name: 'Login to GitHub Container Registry'
3031
uses: docker/[email protected]
@@ -35,4 +36,4 @@ jobs:
3536

3637
- name: build and push
3738
run: |
38-
make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.VERSION }}
39+
make docker-buildx bundle bundle-build bundle-push IMG=ghcr.io/${{ github.repository }}:${{ env.CLEAN_VERSION }}

0 commit comments

Comments
 (0)