Skip to content

Commit 0d39000

Browse files
committed
feat(ci): add imagesOnly input to release workflow
Allow releasing just Docker images without triggering CLI desktop release, pinata bump, or CE packaging jobs. Also removes the unused input reference. This is useful for releasing a new image with an updated llama.cpp. Signed-off-by: Dorin Geman <dorin.geman@docker.com>
1 parent 59280ed commit 0d39000

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ on:
4646
required: false
4747
type: boolean
4848
default: false
49+
imagesOnly:
50+
description: "Only build and push Docker images (skip CLI releases, pinata bump, and CE packaging)"
51+
required: false
52+
type: boolean
53+
default: false
4954

5055
jobs:
5156
# ---------------------------------------------------------------------------
@@ -414,6 +419,7 @@ jobs:
414419
# Release CLI for Docker Desktop — build, sign & push CLI + Desktop module image
415420
# ---------------------------------------------------------------------------
416421
release-cli-desktop:
422+
if: ${{ !inputs.imagesOnly }}
417423
needs: [prepare, test]
418424
runs-on: ubuntu-latest
419425
permissions:
@@ -468,6 +474,7 @@ jobs:
468474
# Bump docker-model version in pinata and open a PR
469475
# ---------------------------------------------------------------------------
470476
bump-pinata:
477+
if: ${{ !inputs.imagesOnly }}
471478
needs: [prepare, release-cli-desktop]
472479
runs-on: ubuntu-latest
473480
permissions:
@@ -520,7 +527,7 @@ jobs:
520527
# deploy completed successfully.
521528
# ---------------------------------------------------------------------------
522529
release-cli-docker-ce-trigger:
523-
if: ${{ !inputs.skipPackaging }}
530+
if: ${{ !inputs.imagesOnly }}
524531
needs: [prepare, release-cli-desktop]
525532
runs-on: ubuntu-latest
526533
permissions:
@@ -609,6 +616,7 @@ jobs:
609616
# server versions match the release tag.
610617
# ---------------------------------------------------------------------------
611618
verify-docker-ce:
619+
if: ${{ !inputs.imagesOnly }}
612620
needs: [prepare, release-cli-docker-ce-trigger, build]
613621
runs-on: ubuntu-latest
614622
environment: release-repo-deploy

0 commit comments

Comments
 (0)