concourse / registry-image-resource

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

Add tag pull support #326

Closed LucaBernstein closed 1 year ago

LucaBernstein commented 1 year ago

Solves #292

How to build and use yourself:

Build:

docker build . -f dockerfiles/alpine/Dockerfile -t docker-image-tagsupport
# push to some registry
---
resource_types:
  - name: docker-image-tagsupport
    type: docker-image
    source:
      repository: <your-reg-location-to-image>/docker-image-tagsupport
      tag: "latest"

#somewhere in tasks section:

image_resource:
  type: docker-image
  source:
    repository: docker-image-tagsupport
  version:
    tag: 'special'
taylorsilva commented 1 year ago

Closing, see https://github.com/concourse/registry-image-resource/issues/292#issuecomment-1442007754 for reasoning. Thanks for the PR though!