summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/element.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 2c26999c7..0bc35ce38 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1669,6 +1669,10 @@ class Element(Plugin):
# (bool): Whether a pull operation is pending
#
def _pull_pending(self):
+ if self._get_workspace():
+ # Workspace builds are never pushed to artifact servers
+ return False
+
if self.__strong_cached:
# Artifact already in local cache
return False