mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-21 20:22:11 -05:00
ci: clone the repository before tagging (#5208)
Clone the repository in the release workflow otherwise we cannot create tags.
This commit is contained in:
parent
ff5037c060
commit
5c67776f9d
1 changed files with 4 additions and 0 deletions
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -243,6 +243,10 @@ jobs:
|
|||
ghcr.io/super-linter/super-linter:slim-${{ env.SEMVER_MAJOR_VERSION }}
|
||||
ghcr.io/super-linter/super-linter:slim-${{ env.RELEASE_VERSION }}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# No need to tag major.minor.patch because that tag is automatically created when creating the release
|
||||
- name: Tag major, minor, and latest versions
|
||||
if: steps.release.outputs.release_created
|
||||
|
|
Loading…
Reference in a new issue