devopshq / artifactory-cleanup

Extended cleanup tool for JFrog Artifactory
MIT License
121 stars 65 forks source link

docker-usage not possible #129

Open marcoschleiwies opened 8 months ago

marcoschleiwies commented 8 months ago

Hi,

I would like to use your tool but I am not able to run it in docker as the message is always "=====> artifactory-cleanup.yaml is not a file"

I tried with the following command as stated in the docs: docker run --rm -v "$(pwd)":/app -e ARTIFACTORY_USERNAME -e ARTIFACTORY_PASSWORD devopshq/artifactory-cleanup artifactory-cleanup The docker image itself is ok - as I call it with -h or -v the expected information is printed out.

I have created the artifactory-cleanup.yaml in that directory - also tried to use a different one. Env is a git bash on Windows 10.

Where does the error come from ?

allburov commented 8 months ago

Env is a git bash on Windows 10.

never tried it on this, have no idea how underlying engine works.

Could you try it on any Ubuntu or linux-based OS?

allburov commented 8 months ago

run the docker with sh and see what files windows attached here in /app folder - it could help you