Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Docker images in manifest file allow mismatched tag + sha

Open
#153 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, go
Domain
cli, devops

Research direction

Read pkg/types/manifest.go at the referenced image-name generation method first. Trace how manifest.json values become docker-compose image references, then define behavior for mismatched tag and sha; done means mismatches are detected or the manifest format is revised, with tests covering the chosen behavior.

Written by the indexing model from the issue text.

Description

The manifest.json format allows specifying a Docker version by tag or sha. If the sha is set, the tag is ignored, as seen in this method to generate the image name for the docker-compose file:

https://github.com/hyperledger/firefly-cli/blob/03797a8484fb7df6d277d236d99a6fc79bdaa2bb/pkg/types/manifest.go#L55

This can be confusing if tag and sha are both set but refer to two different images. Ideally if both are set, there would be some verification that they point to the same image.

If this is not feasible, perhaps we should adjust the manifest.json to only contains sha (even though it's not as human-readable).

Dominant language
Go
Stars
66
Forks
64
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hyperledger-firefly/cli

All issues in hyperledger-firefly/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.