Drone

Fetch the latest git tag(in the drone ref section) from drone task and use it as an ARG in the script in the same drone task

Example:
deploy-prod:
when:
event: tag
ref:
- refs/tags/k8s.prod.gcp.v1
image: docker.hub.com/prod/kustomize:latest
pull: true
- ./deploy.sh . ARG