brakeman icon indicating copy to clipboard operation
brakeman copied to clipboard

`latest` brakeman image in docker hub is older than `5.2.1`

Open shamrt opened this issue 3 years ago • 6 comments

As a follow-up to #1510, I thought I'd raise the same issue. Any chance we could get the brakeman image updated on Dockerhub? Thank you!

shamrt avatar Feb 11 '22 18:02 shamrt

Since Docker has stopped allowing automatic builds for free accounts, I have to find out a new way to automate the Docker builds.

presidentbeef avatar Feb 11 '22 19:02 presidentbeef

Here's a workaround command that can be used until the docker image is updated

docker run -it -v "$(pwd)":/code -w /code ruby:3-alpine sh -c 'gem install brakeman && brakeman'

prashcr avatar Feb 18 '22 05:02 prashcr

Commenting to follow; the github action uses the doctor container so we've gotta wait until it's updated.

katelovescode avatar Mar 01 '22 00:03 katelovescode

Thanks for the ping @katelovescode. Does the GitHub action you are using reference the latest tag?

What I've done for now is push out an image for v5.2.1 and latest, which are the same.

Previously, latest was built for every update to the main branch...

presidentbeef avatar Mar 01 '22 20:03 presidentbeef

https://github.com/artplan1/brakeman-action/blob/master/action.yml looks like it doesn't specify, so I'm assuming it defaults to latest? I'll give this another shot later today, thank you for pushing out an update!

katelovescode avatar Mar 01 '22 21:03 katelovescode

Worked great, thank you!

katelovescode avatar Mar 02 '22 03:03 katelovescode

I've created https://github.com/presidentbeef/brakeman/pull/1729 to automate building image on each pushed tags

ShockwaveNN avatar Aug 11 '22 14:08 ShockwaveNN