ソースを参照

feat: adjust to only build the latest image when pushing a tag. (#1324)

tags/0.3.27
takatost 2年前
コミット
c0fe706597
コミッターのメールアドレスに関連付けられたアカウントが存在しません
2個のファイルの変更2行の追加2行の削除
  1. 1
    1
      .github/workflows/build-api-image.yml
  2. 1
    1
      .github/workflows/build-web-image.yml

+ 1
- 1
.github/workflows/build-api-image.yml ファイルの表示

@@ -31,7 +31,7 @@ jobs:
with:
images: langgenius/dify-api
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}

+ 1
- 1
.github/workflows/build-web-image.yml ファイルの表示

@@ -31,7 +31,7 @@ jobs:
with:
images: langgenius/dify-web
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=semver,pattern={{major}}.{{minor}}.{{patch}}

読み込み中…
キャンセル
保存