From 918917badd2c91c2df03513df8c36c3160571b0d Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 23:31:52 +0000 Subject: [PATCH 1/3] Fix broken main.tf link in tasks-docker template README The relative link ./main.tf was broken on the registry website. Replaced with the correct GitHub URL pointing to the main.tf file. Fixes the 404 error reported for the main.tf link. --- registry/coder-labs/templates/tasks-docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder-labs/templates/tasks-docker/README.md b/registry/coder-labs/templates/tasks-docker/README.md index ba6a724e5..df9673566 100644 --- a/registry/coder-labs/templates/tasks-docker/README.md +++ b/registry/coder-labs/templates/tasks-docker/README.md @@ -63,7 +63,7 @@ Visit this URL for your Coder deployment: https://coder.example.com/templates/new?exampleId=scratch ``` -After creating the template, paste the contents from [main.tf](./main.tf) into the template editor and save. +After creating the template, paste the contents from [main.tf](https://github.com/coder/registry/blob/main/registry/coder-labs/templates/tasks-docker/main.tf) into the template editor and save. Alternatively, you can use the Coder CLI to [push the template](https://coder.com/docs/reference/cli/templates_push) From 64669da429204057df61b73d1ceb676a38a1951b Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 23:47:18 +0000 Subject: [PATCH 2/3] Use relative link for main.tf as requested Changed from absolute GitHub URL back to relative link main.tf per code review feedback. --- registry/coder-labs/templates/tasks-docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder-labs/templates/tasks-docker/README.md b/registry/coder-labs/templates/tasks-docker/README.md index df9673566..db8fc991c 100644 --- a/registry/coder-labs/templates/tasks-docker/README.md +++ b/registry/coder-labs/templates/tasks-docker/README.md @@ -63,7 +63,7 @@ Visit this URL for your Coder deployment: https://coder.example.com/templates/new?exampleId=scratch ``` -After creating the template, paste the contents from [main.tf](https://github.com/coder/registry/blob/main/registry/coder-labs/templates/tasks-docker/main.tf) into the template editor and save. +After creating the template, paste the contents from [main.tf](main.tf) into the template editor and save. Alternatively, you can use the Coder CLI to [push the template](https://coder.com/docs/reference/cli/templates_push) From e16862dd124723215e2440deffd53235b8549938 Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 23:48:02 +0000 Subject: [PATCH 3/3] Revert to absolute GitHub URL for main.tf link As clarified, the absolute URL is needed since this renders on the site where relative links don't work properly. --- registry/coder-labs/templates/tasks-docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder-labs/templates/tasks-docker/README.md b/registry/coder-labs/templates/tasks-docker/README.md index db8fc991c..df9673566 100644 --- a/registry/coder-labs/templates/tasks-docker/README.md +++ b/registry/coder-labs/templates/tasks-docker/README.md @@ -63,7 +63,7 @@ Visit this URL for your Coder deployment: https://coder.example.com/templates/new?exampleId=scratch ``` -After creating the template, paste the contents from [main.tf](main.tf) into the template editor and save. +After creating the template, paste the contents from [main.tf](https://github.com/coder/registry/blob/main/registry/coder-labs/templates/tasks-docker/main.tf) into the template editor and save. Alternatively, you can use the Coder CLI to [push the template](https://coder.com/docs/reference/cli/templates_push)