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
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,12 @@ jobs:
token: ${{ secrets.CLI_RELEASE_PAT }}
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
with:
go-version-file: 'go.mod'
cache: true

- name: Fetch latest llamacpp version from Docker Hub
id: llamacpp
run: |
Expand Down Expand Up @@ -504,6 +510,14 @@ jobs:
' build.json > build.json.tmp
mv build.json.tmp build.json

- name: Bump model-runner Go dependency
env:
VERSION: ${{ needs.prepare.outputs.version }}
run: |
go get github.com/docker/model-runner@v${VERSION}
go mod tidy
go mod vendor

- name: Create pull request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1
with:
Expand All @@ -521,6 +535,7 @@ jobs:

- Bumps docker-model version to v${{ needs.prepare.outputs.version }} in build.json.
- Bumps llamacpp version to ${{ steps.llamacpp.outputs.version }} in build.json (latest from [Docker Hub](https://hub.docker.com/r/docker/docker-model-backend-llamacpp/tags)).
- Updates `github.com/docker/model-runner` Go module to v${{ needs.prepare.outputs.version }} (go get + go mod tidy + go mod vendor).

### Notes for the reviewer

Expand Down
Loading