hashicorp / hashicorp/consul-template

Please publish images to `quay.io` and `public.ecr.aws` / `gallery.ecr.aws`

Open
#1,732 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

### Consul Template version

Not applicable

### Configuration

Not applicable

### Command

Not applicable

### Debug output

Not applicable

### Expected behavior

I'd like to pull images from `quay.io` and /or `public.ecr.aws`. This is because ecr pull through cache only supports these registries.

### Actual behavior

I only see this image deployed to dockerhub which is unsupported by ecr pull through cache.

There are images on `public.ecr.aws` from [hashicorp](https://gallery.ecr.aws/hashicorp/) such as the `hashicorp/consul-enterprise` which is nice.

### Steps to reproduce

Not applicable

### References

How to publish to other repos

- https://redhat-cop.github.io/ci/publishing-images.html

Image repos

- https://hub.docker.com/r/hashicorp/consul-template
- https://gallery.ecr.aws/?searchTerm=consul-template
- https://quay.io/search?q=consul-template

Code reference

- Current build in this repo https://github.com/hashicorp/consul-template/blob/eb7920694ce76ff03b8713abb0e86d7485a8a34a/.github/workflows/build.yml#L217
- Similar in packer except packer pushes to docker.io and public.ecr.aws https://github.com/hashicorp/packer/blob/fc0ed2926441ed8c7608dc31491da0e369211ede/.github/workflows/build.yml#L248-L250

Contributor guide

Open the contributing guide

Research direction

Inspect .github/workflows/build.yml around line 217 to see how images are currently published, then compare it with Packer's workflow around lines 248-250. Update the publishing workflow so Consul Template images are available through quay.io and/or public.ecr.aws, and verify the workflow publishes the expected image repositories.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.