Skip to content

Commit 13b6300

Browse files
committed
Package
1 parent 5c10097 commit 13b6300

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/kubenetmon.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ jobs:
169169
contents: read
170170
packages: write
171171
steps:
172+
- name: Checkout code
173+
uses: actions/checkout@v4
174+
172175
- name: Download Docker image
173176
uses: actions/download-artifact@v4
174177
with:
@@ -188,7 +191,7 @@ jobs:
188191
id: version
189192
run: |
190193
# Use short commit SHA as the version
191-
VERSION=$(git rev-parse --short HEAD)
194+
VERSION="0.1.0-$(git rev-parse --short HEAD)"
192195
echo "VERSION=$VERSION" >> $GITHUB_ENV
193196
194197
- name: Push to GitHub Container Registry
@@ -218,7 +221,7 @@ jobs:
218221
id: version
219222
run: |
220223
# Use short commit SHA as the version
221-
VERSION=$(git rev-parse --short HEAD)
224+
VERSION="0.1.0-$(git rev-parse --short HEAD)"
222225
echo "VERSION=$VERSION" >> $GITHUB_ENV
223226
224227
- name: Update chart version

0 commit comments

Comments
 (0)