Docs feedback: Kaniko example is using deprecated functionality
The "Building images with kaniko and GitLab CI/CD" documentation is using only/except functionality in documentation, which is now deprecated in favor of rules syntax. If you have pipeline stages that require rules syntax (such as SAST), this can cause linting errors.
https://docs.gitlab.com/ee/ci/docker/using_kaniko.html#building-a-docker-image-with-kaniko
I am not a rules expert yet, so I am not sure what the precise translation of "only tags" is in rules syntax land.
Edited by Kurt Boberg