Skip to content

Commit

Permalink
ci: BI-0 remove release option in prerelease action (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
flukolo4ek authored Oct 28, 2024
1 parent 4cb65b3 commit 3898c91
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/release_prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ on:
type: string
description: "Target branch to release"
default: "main"
with_release:
type: boolean
description: "Create green release as well"
default: false

jobs:
get_version:
Expand Down Expand Up @@ -93,7 +89,6 @@ jobs:
./run-project-bake "${bake_target}" \
--push \
--set "${bake_target}.tags=${image_url_rc}"
${{ github.event.inputs.with_release == 'true' && '--set "${bake_target}.tags=${image_url_release}"' || '' }}
echo "image-version=${image_version}-rc.1" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -134,19 +129,6 @@ jobs:
GH_TOKEN: ${{ github.token }}
release_tag: "${{ env.version }}-rc.1"

- name: Create release
id: create_release
if: ${{ github.event.inputs.with_release == 'true' }}
run: |
gh release create \
--repo ${{ github.repository_owner }}/${{ github.event.repository.name }} \
${{ env.release_tag }} \
--target ${{ env.release_branch }} \
--generate-notes
env:
GH_TOKEN: ${{ github.token }}
release_tag: "${{ env.version }}"

run_e2e_tests:
name: "Run E2E tests"
needs: [ build_images, get_version ]
Expand Down

0 comments on commit 3898c91

Please sign in to comment.