Skip to content

Commit

Permalink
updated for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Oct 10, 2024
1 parent a6f848d commit 8e65593
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ name: Release Robusta
on:
release:
types: [published]
pull_request:
types: [opened, synchronize, reopened]

env:
PROJECT_ID: ${{ secrets.GKE_PROD_PROJECT }}
jobs:

jobs:
setup-build-publish-deploy:
if: github.event_name == 'release' || (github.event_name == 'pull_request' && contains(github.ref_name, '-alpha'))
name: Build images
runs-on: ubuntu-latest

Expand Down Expand Up @@ -57,7 +60,8 @@ jobs:
push: true
tags: robustadev/kubewatch:${{ github.ref_name }}

# Upload helm chart only on release, not on pull request
- name: Upload helm chart
if: github.event_name == 'release'
run: |
cd helm && ./upload_chart.sh

0 comments on commit 8e65593

Please sign in to comment.