conformance: Github action to point to tagged image
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, github-actions, go
- Domain
- build-system, ci-cd
Research direction
Start at the GitHub Action step that runs make conformance-binary and inspect how conformance.Version is populated through the Go test build. Check the image build's handling of .git and the proposed build-argument approach. Done means the tagged image builds without Git metadata access and the conformance binary receives the intended version.
Written by the indexing model from the issue text.
Description
For some reason, Github action does not have access to the .git directory:
Step 5/9 : RUN make conformance-binary && mv output/conformance.test /conformance.test
---> Running in 66d264dd2646
fatal: not a git repository (or any of the parent directories): .git
cd conformance && \
CGO_ENABLED=0 go test -c -o /go/src/github.com/opencontainers/distribution-spec/output//conformance.test \
--ldflags="-X github.com/opencontainers/distribution-spec/conformance.Version="
go: downloading github.com/opencontainers/distribution-spec v1.0.0-rc0.0.20200108182153-219f20cbcfa1
Perhaps we use build args instead of relying on git?
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 260
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opencontainers/distribution-spec
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
opencontainers/distribution-spec#621 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
opencontainers/distribution-spec#608 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
opencontainers/distribution-spec#596 · 1 comment ·
All issues in opencontainers/distribution-spec
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100