Is it possible to use the `vcs_version` target as ...
# general
c
Is it possible to use the
vcs_version
target as a tag for the `docker_image`target? Do I need to write a small plugin?
h
I don't think there's a way. But we could add something in the docker backend to support this. Or rather, to support reading tags from a file, and then
vcs_version
can be set up to generate that file.
❤️ 1
So then the docker backend doesn't need to know anything about
vcs_version
, which belongs to the python backend
c
That would be great. Prior to
vcs_version
we were using https://github.com/pantheon-systems/autotag to set a env car, then have pants use the env var to tag
So reading tags from a file would actually be a quote flexible and easy to use solution