Use calculated major version instead of hardcoded v5 (#4441)

* Use calculated major version instead of hardcoded v5

fixes #4419

* remove trailing whitespace
This commit is contained in:
Zack Koppert 2023-07-03 16:57:45 -07:00 committed by GitHub
parent b9cb2b121d
commit 1f93390f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ jobs:
with: with:
src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest
dst: | dst: |
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}v5 ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.SEMVER_MAJOR_VERSION_WITH_PREFIX }}
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }} ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
- name: Checkout Code - name: Checkout Code