mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
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:
parent
b9cb2b121d
commit
1f93390f29
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
|||
SEMVER_VERSION=${RELEASE_VERSION#v}
|
||||
SEMVER_MAJOR_VERSION=${SEMVER_VERSION%%.*}
|
||||
SEMVER_MAJOR_VERSION_WITH_PREFIX=v${SEMVER_MAJOR_VERSION}
|
||||
|
||||
|
||||
{
|
||||
echo "RELEASE_VERSION=${RELEASE_VERSION}"
|
||||
echo "SEMVER_VERSION=${SEMVER_VERSION}"
|
||||
|
@ -88,7 +88,7 @@ jobs:
|
|||
with:
|
||||
src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest
|
||||
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 }}
|
||||
|
||||
- name: Checkout Code
|
||||
|
|
Loading…
Reference in a new issue