Closed jacksgt closed 6 years ago
Hi, and thank you for reporting the problem. This is slightly embarrasing. I removed that environment printing line, but I didn't rebuild the docker image afterwards. So while there is no such line in the code in this repo, an earlier build had it. Now I have updated the docker image. Is it any better?
Haha, I was wondering wether someone forgot a print statement in there, but looking at the code I couldn't find any :-)
You should really look into Automating the Docker Image build by Docker Hub. This can be easily done with my modified Dockerfile at https://github.com/ptman/drone-plugin-matrix/pull/2. Then in Docker Hub, click on "Create" and "Create Automated Build" in the top-right corner, choose "Github" as the source and select your repository. After creating the automated build, you should then go to "Build Settings" and "link" to the golang repository. This will automatically trigger rebuilds of your image when the golang image is updated (e.g. with security fixes).
Hi there,
thanks for writing this awesome plugin, just what I needed!
I just tried out your plugin with the following
.drone.yml
:I set the secrets appropriately in Drone and the notification was sent out. However, I had to discover that container prints its entire environment when running (the pipeline step executes successfully):
PLUGIN_ACCESSTOKEN
,PLUGIN_ROOMID
andPLUGIN_USERID
are exposed, which is of course not the idea behind secrets.