Skip to content

Commit 9bc22e1

Browse files
committed
Add needs.test.result condition to push
1 parent 28807df commit 9bc22e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
type=raw,value=latest
4848
4949
- name: Push cached image to container registry
50-
if: github.ref_type == 'tag'
50+
if: needs.test.result && github.ref_type == 'tag'
5151
uses: docker/build-push-action@v6
5252
env:
5353
DOCKER_BUILD_RECORD_UPLOAD: false

0 commit comments

Comments
 (0)