Schedule Watch Offical Release #343
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Schedule Watch Offical Release | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 18 */14 * *' # Execute every two weeks at 18:00 | |
| permissions: | |
| contents: write | |
| packages: write | |
| jobs: | |
| watch_nginx_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: nginx | |
| get_official_version_command: 'curl -s https://nginx.org/en/download.html | grep -oP "nginx-\K[0-9]+\.[0-9]+\.[0-9]" | head -n 1' | |
| is_latest_tag: true | |
| build_platforms: 'linux/arm64,linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8' | |
| secrets: inherit | |
| watch_snell_server_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: snell-server | |
| get_official_version_command: 'curl -s https://kb.nssurge.com/surge-knowledge-base/zh/release-notes/snell | grep -oP "snell-server-v\K[0-9]+\.[0-9]+\.[0-9]+(?=-linux)" | head -n 1' | |
| build_platforms: 'linux/amd64,linux/arm64,linux/arm/v7,linux/386' | |
| is_latest_tag: true | |
| secrets: inherit | |
| watch_oneapi_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: one-api | |
| build_context: './Docker/one-api' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/songquanpeng/one-api/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64' | |
| secrets: inherit | |
| # watch_git_sync_release: | |
| # uses: ./.github/workflows/check-offical-release.yml | |
| # with: | |
| # image_name: git-sync | |
| # build_context: './Docker/git-sync' | |
| # get_official_version_command: 'curl -s https://api.github.com/repos/AkashRajpurohit/git-sync/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| # is_latest_tag: true | |
| # build_platforms: 'linux/amd64,linux/arm64,linux/arm/v7' | |
| # secrets: inherit | |
| watch_ffmpeg_service_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: ffmpeg-service | |
| build_context: './Docker/ffmpeg-service' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/ffmpeg-service/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64,linux/arm/v7' | |
| secrets: inherit | |
| watch_weread_bot_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: weread-bot | |
| build_context: './Docker/weread-bot' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/weread-bot/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_mtranserver_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: mtranserver | |
| build_context: './Docker/mtranserver' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/xxnuo/MTranServer/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_reqtap_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: reqtap | |
| build_context: './Docker/reqtap' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/reqtap/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/s390x,linux/ppc64le,linux/riscv64' | |
| secrets: inherit | |
| watch_ai_goofish_monitor_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: ai-goofish-monitor | |
| build_context: './Docker/ai-goofish-monitor' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/ai-goofish-monitor/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_nezha_dashboard_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: nezha-dashboard | |
| build_context: './Docker/nezha/nezha-dashboard' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/nezhahq/nezha/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_brt_data_forwarder_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: brt-data-forwarder | |
| build_context: './Docker/brt-data-forwarder' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/brt-data-forwarder/tags | jq -r ".[0].name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_vcards_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: vcards | |
| get_official_version_command: 'curl -s https://api.github.com/repos/metowolf/vCards/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_certimate_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: certimate | |
| get_official_version_command: 'curl -s https://api.github.com/repos/certimate-go/certimate/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64,linux/arm/v7' | |
| secrets: inherit | |
| watch_libreoffice_rest_api_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: libreoffice-rest-api | |
| build_context: './Docker/libreoffice-rest-api' | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/libreoffice-rest-api/releases/latest | jq -r ".tag_name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| watch_watermark_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| image_name: watermark | |
| get_official_version_command: 'curl -s https://api.github.com/repos/funnyzak/watermark/tags | jq -r ".[0].name // \"no-tags\""' | |
| is_latest_tag: true | |
| build_platforms: 'linux/amd64,linux/arm64,linux/arm/v7,linux/arm64/v8,linux/ppc64le' | |
| secrets: inherit | |
| canal_adapter_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| build_context: './Docker/canal/canal-adapter' | |
| get_official_version_command: "curl -s https://api.github.com/repos/alibaba/canal/releases/latest | jq -r \".tag_name\" | sed 's/^canal-//'" | |
| image_name: canal-adapter | |
| is_latest_tag: false | |
| build_args: CANAL_NAME=adapter | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| canal_admin_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| build_context: './Docker/canal/canal-adapter' | |
| get_official_version_command: "curl -s https://api.github.com/repos/alibaba/canal/releases/latest | jq -r \".tag_name\" | sed 's/^canal-//'" | |
| image_name: canal-admin | |
| is_latest_tag: false | |
| build_args: CANAL_NAME=admin | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit | |
| canal_deployer_release: | |
| uses: ./.github/workflows/check-offical-release.yml | |
| with: | |
| build_context: './Docker/canal/canal-adapter' | |
| get_official_version_command: "curl -s https://api.github.com/repos/alibaba/canal/releases/latest | jq -r \".tag_name\" | sed 's/^canal-//'" | |
| image_name: canal-deployer | |
| is_latest_tag: false | |
| build_args: CANAL_NAME=deployer | |
| build_platforms: 'linux/amd64,linux/arm64' | |
| secrets: inherit |