File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33output
44header.html
55tags
6- go.mod
7- go.sum
6+ go.work
87junit.xml
98report.html
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ module github.com/opencontainers/distribution-spec/.tool
22
33go 1.15
44
5- require github.com/opencontainers/distribution-spec/specs-go v0.0.0-20210623213441-eb171947459c // indirect
5+ require github.com/opencontainers/distribution-spec/specs-go v0.0.0-20260313153622-5e57cc0a07ea
Original file line number Diff line number Diff line change 1+ github.com/opencontainers/distribution-spec/specs-go v0.0.0-20210623213441-eb171947459c h1:7zh9TklTB1x95V7yygkuKSdBlgsCjQvamWTEKPkK80o =
2+ github.com/opencontainers/distribution-spec/specs-go v0.0.0-20210623213441-eb171947459c /go.mod h1:aA4vdXRS8E1TG7pLZOz85InHi3BiPdErh8IpJN6E0x4 =
3+ github.com/opencontainers/distribution-spec/specs-go v0.0.0-20260313153622-5e57cc0a07ea h1:2gucIpEeV3BzUKWXcLuDAYKPnPcVwVBi+f63IS2WBQA =
4+ github.com/opencontainers/distribution-spec/specs-go v0.0.0-20260313153622-5e57cc0a07ea /go.mod h1:Va0IMqkjv62YSEytL4sgxrkiD9IzU0T0bX/ZZEtMnSQ =
Original file line number Diff line number Diff line change @@ -9,18 +9,17 @@ GOLANGCILINT ?= $(shell command -v golangcli-lint 2>/dev/null)
99OUTPUT_DIRNAME ?= output/
1010DOC_FILENAME ?= oci-distribution-spec
1111
12- PANDOC_CONTAINER ?= ghcr.io/opencontainers/pandoc:2.9.2.1-9.fc34.x86_64@sha256:590c5c7aaa6e8e7a4debae7e9102c837daa0c8a76f8f5b5c9831ea5f755e3e95
12+ # pinned to a 3.1 release due to a regression, see https://github.com/jgm/pandoc/issues/10952 before upgrading
13+ PANDOC_CONTAINER ?= docker.io/pandoc/latex:3.1@sha256:1cf54d9214a9b52de2f58cf5895cc596a5960711a54d7938dc72f2b23473caf3
1314ifeq "$(strip $(PANDOC ) ) " ''
1415 ifneq "$(strip $(DOCKER))" ''
1516 PANDOC = $(DOCKER) run \
1617 --rm \
17- -v $(shell pwd )/:/input /:ro \
18- -v $(shell pwd )/$(OUTPUT_DIRNAME)/:/$(OUTPUT_DIRNAME)/ \
19- -u $(shell id -u) \
20- --workdir /input \
18+ -v "$(CURDIR )/:/workdir /:ro" \
19+ -v "$(CURDIR )/$(OUTPUT_DIRNAME)/:/workdir/ $(OUTPUT_DIRNAME)/" \
20+ -u " $(shell id -u):$(shell id -g)" \
21+ --workdir /workdir \
2122 $(PANDOC_CONTAINER)
22- PANDOC_SRC := /input/
23- PANDOC_DST := /
2423 endif
2524endif
2625
@@ -75,10 +74,9 @@ $(OUTPUT_DIRNAME)/$(DOC_FILENAME).html: header.html $(DOC_FILES) $(FIGURE_FILES)
7574endif
7675
7776header.html : .tool/genheader.go specs-go/version.go
78- rm -f go.mod go.sum && \
79- go mod init github.com/opencontainers/distribution-spec && \
80- go get github.com/opencontainers/distribution-spec/specs-go && \
81- go run .tool/genheader.go > $@
77+ go work init ./specs-go ./.tool && \
78+ go run .tool/genheader.go > $@ && \
79+ rm go.work
8280
8381install.tools : .install.gitvalidation
8482
You can’t perform that action at this time.
0 commit comments