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,41 @@ 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.8.0:
112
+
- docker#v5.9.0:
113
113
image: "node:7"
114
114
always-pull: true
115
115
mount-checkout: false
116
116
```
117
117
118
+
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:
You can read more about runtime variable interpolation from the [docs](https://buildkite.com/docs/pipelines/environment-variables#runtime-variable-interpolation).
145
+
146
+
118
147
### `load`
119
148
120
149
If the image that you want to run is not in a registry the `load` property can be used to load an image from a tar file.
@@ -127,12 +156,11 @@ steps:
127
156
plugins:
128
157
- artifacts#v1.9.0:
129
158
download: "node-7-image.tar.gz"
130
-
- docker#v5.8.0:
159
+
- docker#v5.9.0:
131
160
load: "node-7-image.tar.gz"
132
161
image: "node:7"
133
162
```
134
163
135
-
136
164
### 🚨 Warning
137
165
138
166
You need to be careful when/if [running the BuildKite agent itself in docker](https://buildkite.com/docs/agent/v3/docker) that, itself, runs pipelines that use this plugin. Make sure to read all the documentation on the matter, specially the caveats and warnings listed.
0 commit comments