Skip to content

Commit 8016452

Browse files
committed
Only run Docker build if tests are successful
1 parent eb2d7d1 commit 8016452

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ release:
5454

5555
Docker Build:
5656
stage: build_image
57+
dependencies:
58+
- test:7.3
59+
- test:7.4
5760
script:
5861
- echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
5962
# fetches the latest image (not failing if image is not found)

0 commit comments

Comments
 (0)