Skip to content

Commit 64b5209

Browse files
authored
note about toolchain version (#3575)
1 parent 1b434e6 commit 64b5209

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

src/content/cre/guides/operations/verifying-workflows.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,15 @@ Third-party verification allows customers or auditors to independently confirm t
7171

7272
### Steps for the workflow developer
7373

74-
1. **Add a `.env.public` file** to your workflow folder with the Go toolchain version pinned:
74+
1. **Add a `.env.public` file** to your workflow folder with `GOTOOLCHAIN` set to the Go toolchain version you use to build the workflow. Pinning that version helps reproducible builds across machines and environments. Add this file _before_ running `cre workflow deploy`.
75+
76+
Example (replace with your own version—the tag below is not prescriptive):
7577

7678
```
7779
GOTOOLCHAIN=go1.23.0
7880
```
7981

80-
This ensures reproducible builds across different platforms and environments. Add this file _before_ running `cre workflow deploy`.
82+
Use the same toolchain string you build with; `go version` reports it (for example `go1.23.0 linux/amd64` → use `go1.23.0`).
8183

8284
2. **Share your workflow source** with the customer. Provide a zip archive or repository link that includes all workflow files, including `.env.public`. Exclude `.env` files that contain private keys or secrets.
8385

src/content/cre/llms-full-go.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5803,13 +5803,15 @@ Third-party verification allows customers or auditors to independently confirm t
58035803

58045804
### Steps for the workflow developer
58055805

5806-
1. **Add a `.env.public` file** to your workflow folder with the Go toolchain version pinned:
5806+
1. **Add a `.env.public` file** to your workflow folder with `GOTOOLCHAIN` set to the Go toolchain version you use to build the workflow. Pinning that version helps reproducible builds across machines and environments. Add this file *before* running `cre workflow deploy`.
5807+
5808+
Example (replace with your own version—the tag below is not prescriptive):
58075809

58085810
```
58095811
GOTOOLCHAIN=go1.23.0
58105812
```
58115813

5812-
This ensures reproducible builds across different platforms and environments. Add this file *before* running `cre workflow deploy`.
5814+
Use the same toolchain string you build with; `go version` reports it (for example `go1.23.0 linux/amd64` → use `go1.23.0`).
58135815

58145816
2. **Share your workflow source** with the customer. Provide a zip archive or repository link that includes all workflow files, including `.env.public`. Exclude `.env` files that contain private keys or secrets.
58155817

src/content/cre/llms-full-ts.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4918,13 +4918,15 @@ Third-party verification allows customers or auditors to independently confirm t
49184918

49194919
### Steps for the workflow developer
49204920

4921-
1. **Add a `.env.public` file** to your workflow folder with the Go toolchain version pinned:
4921+
1. **Add a `.env.public` file** to your workflow folder with `GOTOOLCHAIN` set to the Go toolchain version you use to build the workflow. Pinning that version helps reproducible builds across machines and environments. Add this file *before* running `cre workflow deploy`.
4922+
4923+
Example (replace with your own version—the tag below is not prescriptive):
49224924

49234925
```
49244926
GOTOOLCHAIN=go1.23.0
49254927
```
49264928

4927-
This ensures reproducible builds across different platforms and environments. Add this file *before* running `cre workflow deploy`.
4929+
Use the same toolchain string you build with; `go version` reports it (for example `go1.23.0 linux/amd64` → use `go1.23.0`).
49284930

49294931
2. **Share your workflow source** with the customer. Provide a zip archive or repository link that includes all workflow files, including `.env.public`. Exclude `.env` files that contain private keys or secrets.
49304932

0 commit comments

Comments
 (0)