Skip to content

Commit

Permalink
chore(cypress): also log the current server image sha
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>

[skip ci]
  • Loading branch information
skjnldsv authored and backportbot[bot] committed Feb 20, 2025
1 parent 00871a3 commit efbc82c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress/dockerNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ export const startNextcloud = async function(branch: string = getCurrentGitBranc
reject(err)
}
}))

const digest = await (await docker.getImage(SERVER_IMAGE).inspect()).RepoDigests.at(0)
const sha = digest?.split('@').at(1)
console.log('├─ Using image ' + sha)
console.log('└─ Done')
} catch (e) {
console.log('└─ Failed to pull images')
Expand Down

0 comments on commit efbc82c

Please sign in to comment.