Skip to content

Commit 05fb840

Browse files
authored
Try a valid semver for melange package version (#228)
* Try a valid semver for melange package version * Use stric major.minor.patch format
1 parent 4d93cd4 commit 05fb840

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/daily-scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
context: deploy
3939
image-name: replicated/replicated-sdk:${{ github.sha }}
40-
git-tag: ${{ github.sha }}
40+
git-tag: "1.0.0" # can't use ${{ github.sha }} because melange config requires strict format.
4141

4242
- name: Run Trivy vulnerability scanner
4343
uses: aquasecurity/trivy-action@master

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
context: deploy
4747
image-name: ttl.sh/automated-${{ github.run_id }}/replicated/replicated-sdk:24h
48-
git-tag: ${{ github.sha }}
48+
git-tag: "1.0.0" # can't use ${{ github.sha }} because melange config requires strict format.
4949

5050
- name: Build replicated chart
5151
env:
@@ -140,7 +140,7 @@ jobs:
140140
printf "user-set extraEnv should exist:\n\n%s\n\n" "$output"
141141
exit 1
142142
fi
143-
143+
144144
cat << EOF > test-values.yaml
145145
tolerations:
146146
- key: "test-toleration-key"

0 commit comments

Comments
 (0)