Skip to content

Commit 7698fcf

Browse files
authored
CLOUDP-335401: Checkout the repo to check the version file (#2720)
Signed-off-by: jose.vazquez <[email protected]>
1 parent e965798 commit 7698fcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release-image.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ jobs:
8888
echo "Setting pre-release repo mongodb/mongodb-atlas-kubernetes-operator-prerelease"
8989
echo "repo=mongodb/mongodb-atlas-kubernetes-operator-prerelease" | tee -a $GITHUB_OUTPUT
9090
fi
91+
- name: Checkout code
92+
uses: actions/checkout@v5
93+
with:
94+
fetch-depth: 0
95+
ref: ${{ needs.image2commit.outputs.commit_sha }}
9196
- name: Read the next release version
9297
id: read_version
9398
env:

0 commit comments

Comments
 (0)