StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
614 stars 150 forks source link

github: strip "scirius-" from version number in docker tag #240

Closed yodapotatofly closed 2 years ago

yodapotatofly commented 3 years ago

When a build is triggered by a github release, it will take the github tag as the version number for the docker tag. Since scirius is always tag with the pattern scirius-x.y.z, it would lead to an image named scirius:scirius-x.y.z, which is weird.

With this change, the scirius- prefix, if it exists, will be stripped, so that the docker tag becomes only x.y.z and the docker image will be referenced as scirius:x.y.z