You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -109,12 +109,28 @@ You can disable the default behaviour of mounting in the checkout to `workdir`:
109
109
steps:
110
110
- command: "npm start"
111
111
plugins:
112
-
- docker#v5.12.0:
112
+
- docker#v5.13.0:
113
113
image: "node:7"
114
114
always-pull: true
115
115
mount-checkout: false
116
116
```
117
117
118
+
You can enable custom logging drivers and logging options with the use of `log-driver` and `log-opt`:
119
+
120
+
```yml
121
+
steps:
122
+
- command: "npm run start"
123
+
plugins:
124
+
- docker#v5.13.0:
125
+
image: "node:7"
126
+
log-driver: "awslogs"
127
+
log-opt:
128
+
- "awslogs-group=my-buildkite-logs"
129
+
- "awslogs-region=us-east-1"
130
+
- "awslogs-stream-prefix=buildkite"
131
+
- "awslogs-create-group=true"
132
+
```
133
+
118
134
Variable interpolation can be tricky due to the 3 layers involved (Buildkite, agent VM, and docker). For example, if you want to use [ECR Buildkite plugin](https://github.com/buildkite-plugins/ecr-buildkite-plugin), you will need to use the following syntax. Note the `$$` prefix for variables that would otherwise resolve at pipeline upload time, not runtime:
0 commit comments