Skip to content

Commit 4de0f5c

Browse files
authored
CircleCI: disable Docker image upload for PR build
1 parent 0faf59e commit 4de0f5c

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.circleci/config.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ jobs:
77
- checkout
88
- setup_remote_docker # https://circleci.com/docs/2.0/building-docker-images/
99
- run: make docker-maximum-cuda
10-
- run:
11-
name: persist image
12-
command: |
13-
sudo apt install pigz
14-
docker image save ocrd/all:maximum-cuda | pigz --fast > ocrd-all-maximum.tar.gz
15-
no_output_timeout: 30m
16-
# can be downloaded from CircleCI.com and imported via "docker image load"
17-
- store_artifacts:
18-
path: ocrd-all-maximum.tar.gz
19-
destination: artifacts
10+
- when:
11+
# takes too long for 1h1m CircleCI timeout overall
12+
condition: false
13+
steps:
14+
- run:
15+
name: persist image
16+
command: |
17+
sudo apt install pigz
18+
docker image save ocrd/all:maximum-cuda | pigz --fast > ocrd-all-maximum.tar.gz
19+
no_output_timeout: 30m
20+
# can be downloaded from CircleCI.com and imported via "docker image load"
21+
- store_artifacts:
22+
path: ocrd-all-maximum.tar.gz
23+
destination: artifacts
2024
deploy:
2125
docker:
2226
- image: circleci/buildpack-deps:stretch

0 commit comments

Comments
 (0)