https://pantsbuild.org/ logo
b

brave-hair-402

04/09/2023, 11:49 AM
Hey everyone, I'm working on managing my Docker image tags in my repo. Right now, my tags look like ["service_name-{pants.hash}"], which is perfect for local runs. But when it comes to my CI/CD pipeline, I'd like to add the git commit message as an extra tag without losing the hash tag. So, it'd be like ["service_name-{pants.hash}", "service_name-{GIT_COMMIT}"]. Any tips on how to make this happen? Thanks!
h

high-yak-85899

04/09/2023, 1:55 PM
We use an environment variable
c

curved-television-6568

04/10/2023, 12:46 PM
2 Views