docker / metadata-action

GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker
https://github.com/marketplace/actions/docker-metadata-action
Apache License 2.0
892 stars 115 forks source link

Strip the prefix `v` from tags created on release event #422

Open Nosfistis opened 2 months ago

Nosfistis commented 2 months ago
          Following-up on this, I am finding that on the release published event the `v` from the tag version is not being stripped from the `{{version}}` variable. This seems incorrect, if the action is supposed to work correctly also on that event type.

          Is this something that was done by design, or instead something that could get updated to match (partially, I agree with the caveats regarding pre-releases) the behaviour on the tag push event?

Originally posted by @esune in https://github.com/docker/metadata-action/issues/240#issuecomment-1578947442

I realize that this still occurs, and the generated tags contain the v prefix.