Passing docker tag version to kubernetes in concourse

How can i pass a docker tag version that is dynamically generated using concourse semver resource to the kubectl script that can then deploy the version?

Thanks