File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,20 @@ jobs:
8686 type=raw,value=mongo${{ matrix.mongo }}
8787 type=raw,value=latest,enable=${{ matrix.mongo == 7 }}
8888
89+ # Semver-utils doesn't coerce, so do that first...
90+ - name : Coerce version to semver-compatible
91+ id : semver
92+ uses : matt-usurp/validate-semver@v2
93+ with :
94+ version : ${{ matrix.mongo }}
95+
8996 # For mongo versions >= 8, we can avoid pulling debian-slim when building
9097 # because Ubuntu noble is used as the base, which has qemu 8.2 in it.
9198 - name : Check mongo version to choose qemu source
9299 id : qemu_source_check
93100 uses : madhead/semver-utils@latest
94101 with :
95- version : ${{ matrix.mongo }}
102+ version : ${{ steps.semver.outputs.version }}
96103 satisfies : ' >=8'
97104
98105 # Build and push Docker image with Buildx (don't push on PR)
You can’t perform that action at this time.
0 commit comments