Skip to content

Commit 0fb0007

Browse files
committed
Only deploy layers on success.
1 parent ba03172 commit 0fb0007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
143143
image: registry.ddbuild.io/images/docker:20.10-py3
144144
rules:
145145
- if: '"{{ $environment_name }}" == "sandbox" && $REGION == "{{ $e2e_region }}" && "{{ $runtime.arch }}" == "amd64"'
146-
when: always
146+
when: on_success
147147
- if: '"{{ $environment_name }}" == "sandbox"'
148148
when: manual
149149
allow_failure: true

0 commit comments

Comments
 (0)