Skip to content

Commit c55a697

Browse files
committed
Parameterize the Rust version in the Docker container
1 parent 6782eeb commit c55a697

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
version: 2.1
22
executors:
33
docker:
4+
parameters:
5+
version:
6+
type: string
47
docker:
5-
- image: circleci/rust:1.35.0
8+
- image: circleci/rust:<< parameters.version >>
69
jobs:
710
build:
811
executor: docker
12+
parameters:
13+
version:
14+
type: string
15+
default: 1.35.0
916
steps:
1017
- run:
1118
name: The First Step

0 commit comments

Comments
 (0)