Skip to content

Commit 14ff4e0

Browse files
committed
ci: add attribute to config.yml to add "build_only" images (#325)
1 parent a40ed58 commit 14ff4e0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ jobs:
8888
import os, yaml, json
8989
with open("config.yml", "r") as f:
9090
config = yaml.safe_load(f)
91-
matrix = {"include": config}
91+
92+
# Filter out build_only configurations for release
93+
release_config = [item for item in config if not item.get('build_only', False)]
94+
95+
matrix = {"include": release_config}
9296
with open(os.environ["GITHUB_OUTPUT"], "a") as fh:
9397
print(f"matrix={json.dumps(matrix)}", file=fh)
9498

0 commit comments

Comments
 (0)