Closed HariSekhon closed 2 years ago
Hey @HariSekhon, as you said the image was not updated correctly. It is now fixed.
Please let me know that this resolved the issue:)
@HariSekhon Hi, has this been resolved for you after the image update?
Yes, thanks.
The docker image
datree/datreeci:latest
is not using the latest version of the CLI, so the action output is showing:I recommend this docker image is CI build whenever a new version tag is created on GitHub.
I tend to find the latest release of many github projects using the GitHub API endpoint: https://api.github.com/repos/datreeio/datree/releases/latest and taking the
tag_name
field, although it'd probably also work to just runcurl https://get.datree.io | /bin/bash
in the docker build every time there is a new tag.