diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 712f1f8ec3..3c62849061 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -88,6 +88,11 @@ jobs: echo "Setting pre-release repo mongodb/mongodb-atlas-kubernetes-operator-prerelease" echo "repo=mongodb/mongodb-atlas-kubernetes-operator-prerelease" | tee -a $GITHUB_OUTPUT fi + - name: Checkout code + uses: actions/checkout@v5 + with: + fetch-depth: 0 + ref: ${{ needs.image2commit.outputs.commit_sha }} - name: Read the next release version id: read_version env: