Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: cloud release add skip releases. #5135

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/cloud-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
description: 'Tag for manual release'
required: false
default: ''
build_offline_tar_only:
description: 'Build offline tar only'
required: false
default: false
type: boolean

env:
# Common versions
Expand All @@ -20,20 +25,23 @@ jobs:
uses: ./.github/workflows/import-save-sealos.yml

release-controllers:
if: ${{ github.event.inputs.build_offline_tar_only == false }}
uses: ./.github/workflows/controllers.yml
with:
push_image: true
push_image_tag: ${{ github.event.inputs.tag || github.event.release.tag_name }}
secrets: inherit

release-frontends:
if: ${{ github.event.inputs.build_offline_tar_only == false }}
uses: ./.github/workflows/frontend.yml
with:
push_image: true
push_image_tag: ${{ github.event.inputs.tag || github.event.release.tag_name }}
secrets: inherit

release-service:
if: ${{ github.event.inputs.build_offline_tar_only == false }}
needs:
- save-sealos
uses: ./.github/workflows/services.yml
Expand All @@ -43,6 +51,7 @@ jobs:
secrets: inherit

release-cloud:
if: ${{ github.event.inputs.build_offline_tar_only == false }}
needs:
- save-sealos
- release-controllers
Expand Down
Loading