Skip to content

Commit 53ee574

Browse files
committed
Document how to update dockerfile-json
Assisted-by: Claude Signed-off-by: Adam Cmiel <acmiel@redhat.com>
1 parent 9123b5c commit 53ee574

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/build-and-test.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,14 @@ go test ./pkg/commands
7070

7171
Integration tests are located under `integration_tests` directory.
7272
Check [integration tests](/docs/integration-tests.md) doc for more information.
73+
74+
## Updating the dockerfile-json dependency
75+
76+
The `github.com/konflux-ci/dockerfile-json` dependency uses a replace
77+
directive in `go.mod` that points to a specific commit from the dev branch.
78+
Update to the latest version with:
79+
80+
```bash
81+
go mod edit -replace github.com/keilerkonzept/dockerfile-json=github.com/konflux-ci/dockerfile-json@dev
82+
go mod tidy
83+
```

0 commit comments

Comments
 (0)