concourse / registry-image-resource

a resource for images in a Docker registry
Apache License 2.0
89 stars 107 forks source link

put version only allows semver #362

Open ianatarewe opened 2 months ago

ianatarewe commented 2 months ago

Describe the bug

What if this image represents an internal application with continuous delivery and not a released application for self-hosting?

There is no valid reason why we should need to maintain semver versions if our actual versioning is linear and modeled as a series of deployments of a candidate to stages.

Reproduction steps

  1. try to put to a registry-image with version "prod"

Expected behavior

it pushes the revision to the tag "prod", but instead it complains it isn't semver.

Additional context

No response

ianatarewe commented 2 months ago

Note, there is a workaround which is to push a file into an output with the desired tag and use additional_tags, but why is that required?