👷 Distribute docker image

This commit is contained in:
OpenWaygate authored and chaoqun committed 2024-06-06 00:38:25 +08:00
1 parent f413f632a1
commit cafbdf3cbf
4 files changed
+99 -16

No files matched your search

+27 -1
View File
@@ -103,7 +103,7 @@ jobs:
with:
subject-path: '${{ github.workspace }}/yutu-${{ matrix.artifact }}'
winget-release:
winget:
needs: [build]
runs-on: windows-latest
if: startsWith(github.ref, 'refs/tags/')
@@ -113,3 +113,29 @@ jobs:
identifier: eat-pray-ai.yutu
installers-regex: '\.exe$' # Only .exe files
token: ${{ secrets.RELEASE_PAT }}
homebrew:
needs: [build]
runs-on: macos-latest
if: false
steps:
- uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.RELEASE_PAT }}
tag: ${{ github.event.release.tag_name }}
org: eat-pray-ai
formula: yutu
github-package:
needs: [test]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- uses: eat-pray-ai/yutu/.github/actions/github-packages@main
with:
version: ${{ github.event.release.tag_name }}
-15
View File
@@ -1,15 +0,0 @@
name: Publish to Homebrew
on:
workflow_dispatch:
jobs:
publish:
runs-on: macos-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.RELEASE_PAT }}
tag: ${{ github.event.release.tag_name }}
org: eat-pray-ai
formula: yutu