GNS3 / gns3-registry

GNS3 devices registry
GNU General Public License v3.0
323 stars 387 forks source link

kalilinux - rebuild when image version changes #787

Closed b-ehlers closed 12 months ago

b-ehlers commented 12 months ago

The docker image gns3/kalilinux didn't work well with the docker build tool. As the base image is build every week, the build tool would normally run a rebuild every week. By setting the base image to NONE in docker/docker_images, the check for a changed base image was disabled. But that requires, that the gns3 devs need to manually monitor kalilinux for important changes and then run the build tool manually. That is not optimal.

This PR wants to change that. First it uses kalilinux/kali-last-release as the base image, which changes only quarterly when a new kali release is published. But nevertheless this base image is rebuild every week. So I added a check in the workflow for a changed version, which will trigger a forced rebuild of kalilinux.


Before submitting a pull request, please check the following.


When updating an existing appliance: