Skip to content

Commit f51b757

Browse files
authored
Merge pull request #7 from trussworks/auto-update-ci
Automated CircleCI config update
2 parents e26a2f1 + a549c75 commit f51b757

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.circleci/config.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
version: 2.1
2-
3-
references:
4-
circleci: &circleci trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
5-
61
jobs:
72
validate:
83
docker:
9-
- image: *circleci
4+
- auth:
5+
password: $DOCKER_PASSWORD
6+
username: $DOCKER_USERNAME
7+
image: trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
108
steps:
11-
- checkout
12-
- restore_cache:
13-
keys:
14-
- pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
15-
- run:
16-
name: Run pre-commit tests
17-
command: pre-commit run --all-files
18-
- save_cache:
19-
key: pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
20-
paths:
21-
- ~/.cache/pre-commit
22-
9+
- checkout
10+
- restore_cache:
11+
keys:
12+
- pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
13+
- run:
14+
command: pre-commit run --all-files
15+
name: Run pre-commit tests
16+
- save_cache:
17+
key: pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }}
18+
paths:
19+
- ~/.cache/pre-commit
20+
references:
21+
circleci: trussworks/circleci:6986bb9022e5a83599feb66a7128a2d0fa12732a
22+
version: 2.1
2323
workflows:
24-
version: 2.1
2524
validate:
2625
jobs:
27-
- validate
26+
- validate:
27+
context:
28+
- org-global
29+
version: 2.1

0 commit comments

Comments
 (0)