Best practice - specify image tag in deployment

Hi,

I am trying to set up CI for my project and I am struggling to promote a build with some particular image tag.

I have e.g.:

  build_image:
    image: plugins/gcr
    registry: eu.gcr.io
    repo: data-tooling-s/shingle
    auto_tag: true
    repo: eu.gcr.io/data-tooling-s/shingle
    secrets: [google_credentials]
    when:
      event: tag
  helm_deploy_testing:
    image: quay.io/ipedrazas/drone-helm
    skip_tls_verify: true
    chart: ./chart/shingle
    values: image.tag=${DRONE_TAG}
    prefix: staging
    release: testing-drone
    secrets: [ staging_api_server, staging_kubernetes_token ]
    when:
      event: tag

which works OK, but let’s say I would now want to trigger block with deploy to production (same to helm_deploy_testing above), so event: deployment and environment: production with some particular, non-floating docker image tag - usually the one being tested on testing.

Is it somehow possible? The DRONE_TAG won’t be available during the deployment and I can’t think of a way how to inject it there.