Skip to content

Commit 27b12a5

Browse files
authored
fix: schedule workflow maybe (#302)
1 parent 6b76bcb commit 27b12a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/scheduled.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ jobs:
153153
IMAGE="${TARGET_REPOSITORY}:${IMAGE_TAG}"
154154
CLIENT="${TARGET_REPOSITORY#*/}"
155155
156-
if [ "${images[$IMAGE]}" == "false" ]; then
156+
# Build if image doesn't exist OR if we couldn't determine existence (fail-safe)
157+
if [ -z "${images[$IMAGE]}" ] || [ "${images[$IMAGE]}" == "false" ]; then
157158
# Handle platforms and runners, ensuring output files are created even if empty
158159
platforms=$(yq e ".$CLIENT[]" "$PLATFORMS_FILE")
159160
platformsArr=""

0 commit comments

Comments
 (0)