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
chenpangpang
open-webui
Commits
3e1c679f
Unverified
Commit
3e1c679f
authored
Apr 07, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Apr 07, 2024
Browse files
Merge pull request #1435 from cheahjs/fix/build-docker-tag
feat: trigger docker build after release
parents
47aeab81
b7ced4e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
.github/workflows/build-release.yml
.github/workflows/build-release.yml
+11
-0
.github/workflows/docker-build.yaml
.github/workflows/docker-build.yaml
+1
-0
No files found.
.github/workflows/build-release.yml
View file @
3e1c679f
...
@@ -57,3 +57,14 @@ jobs:
...
@@ -57,3 +57,14 @@ jobs:
path
:
.
path
:
.
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Trigger Docker build workflow
uses
:
actions/github-script@v7
with
:
script
:
|
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'docker-build.yaml',
ref: 'v${{ steps.get_version.outputs.version }}',
})
.github/workflows/docker-build.yaml
View file @
3e1c679f
...
@@ -3,6 +3,7 @@ name: Create and publish a Docker image
...
@@ -3,6 +3,7 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`.
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on
:
on
:
workflow_dispatch
:
push
:
push
:
branches
:
branches
:
-
main
-
main
...
...
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