Shouldn't recommend embedding actual tokens in the config
This commit is contained in:
@@ -153,7 +153,7 @@ Some images might need an argument passed in during build time, like a GITHUB_TO
|
|||||||
```yaml
|
```yaml
|
||||||
builder:
|
builder:
|
||||||
args:
|
args:
|
||||||
GITHUB_TOKEN: <create-a-new-token-from-github>
|
GITHUB_TOKEN: <%= ENV["GITHUB_TOKEN"] %>
|
||||||
```
|
```
|
||||||
|
|
||||||
This build arg can then be used in the Dockerfile:
|
This build arg can then be used in the Dockerfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user