Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
3098c8b2
Unverified
Commit
3098c8b2
authored
May 07, 2025
by
Daniel Hiltgen
Committed by
GitHub
May 07, 2025
Browse files
CI: trigger downstream release process (#10508)
parent
5e380c3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.github/workflows/release.yaml
.github/workflows/release.yaml
+16
-0
No files found.
.github/workflows/release.yaml
View file @
3098c8b2
...
@@ -426,6 +426,22 @@ jobs:
...
@@ -426,6 +426,22 @@ jobs:
docker buildx imagetools inspect ollama/ollama:${{ steps.metadata.outputs.version }}
docker buildx imagetools inspect ollama/ollama:${{ steps.metadata.outputs.version }}
working-directory
:
${{ runner.temp }}
working-directory
:
${{ runner.temp }}
# Trigger downstream release process
trigger
:
runs-on
:
ubuntu-latest
environment
:
release
needs
:
[
darwin-build
,
windows-build
,
windows-depends
]
steps
:
-
name
:
Trigger downstream release process
run
:
|
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.RELEASE_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ollama/${{ vars.RELEASE_REPO }}/dispatches \
-d "{\"event_type\": \"trigger-workflow\", \"client_payload\": {\"run_id\": \"${GITHUB_RUN_ID}\", \"version\": \"${GITHUB_REF_NAME#v}\"}}"
# Aggregate all the assets and ship a release
# Aggregate all the assets and ship a release
release
:
release
:
needs
:
[
darwin-sign
,
windows-sign
,
linux-build
]
needs
:
[
darwin-sign
,
windows-sign
,
linux-build
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment