Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,54 @@ jobs:
--exit-status
echo "✅ release-cli-dd workflow completed successfully"

# ---------------------------------------------------------------------------
# Bump docker-model version in pinata and open a PR
# ---------------------------------------------------------------------------
bump-pinata:
needs: [prepare, release-cli-desktop]
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Checkout pinata
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
repository: docker/pinata
token: ${{ secrets.CLI_RELEASE_PAT }}
fetch-depth: 0

- name: Bump docker-model version in build.json
env:
VERSION: ${{ needs.prepare.outputs.version }}
run: |
NEW_VERSION="v${VERSION}"
jq --arg v "$NEW_VERSION" '.["docker-model"].version = $v' build.json > build.json.tmp
mv build.json.tmp build.json

- name: Create pull request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
with:
token: ${{ secrets.CLI_RELEASE_PAT }}
base: main
commit-message: "chore: bump docker-model to v${{ needs.prepare.outputs.version }}"
branch: bump-docker-model-v${{ needs.prepare.outputs.version }}
title: "Bump docker-model to v${{ needs.prepare.outputs.version }}"
body: |
### Ticket(s)

N/A — automated version bump

### What this PR does

Bumps docker-model version to v${{ needs.prepare.outputs.version }} in build.json.

### Notes for the reviewer

Automated PR created by the model-runner release workflow.

draft: true

# ---------------------------------------------------------------------------
# Release CLI for Docker CE — build .deb/.rpm packages and deploy to download.docker.com
# (triggers docker/packaging → docker/release-repo)
Expand Down