Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
c0fe7065
Unverified
Commit
c0fe7065
authored
Oct 12, 2023
by
takatost
Committed by
GitHub
Oct 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: adjust to only build the latest image when pushing a tag. (#1324)
parent
9cba1c8b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
build-api-image.yml
.github/workflows/build-api-image.yml
+1
-1
build-web-image.yml
.github/workflows/build-web-image.yml
+1
-1
No files found.
.github/workflows/build-api-image.yml
View file @
c0fe7065
...
@@ -31,7 +31,7 @@ jobs:
...
@@ -31,7 +31,7 @@ jobs:
with
:
with
:
images
:
langgenius/dify-api
images
:
langgenius/dify-api
tags
:
|
tags
:
|
type=raw,value=latest,enable=
{{is_default_branch
}}
type=raw,value=latest,enable=
${{ startsWith(github.ref, 'refs/tags/')
}}
type=ref,event=branch
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
...
...
.github/workflows/build-web-image.yml
View file @
c0fe7065
...
@@ -31,7 +31,7 @@ jobs:
...
@@ -31,7 +31,7 @@ jobs:
with
:
with
:
images
:
langgenius/dify-web
images
:
langgenius/dify-web
tags
:
|
tags
:
|
type=raw,value=latest,enable=
{{is_default_branch
}}
type=raw,value=latest,enable=
${{ startsWith(github.ref, 'refs/tags/')
}}
type=ref,event=branch
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
...
...
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