Skip to content

Commit 39e64da

Browse files
authored
A few changes to the action workflow file (#539)
1 parent 38bf060 commit 39e64da

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/helm-chart-validation.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,10 @@ on:
77
branches: [main, master]
88
paths:
99
- helpers/helm/**
10-
- helpers/hpc-mutating-webhook/**
11-
- helpers/hyper-v-mutating-webhook/**
1210
pull_request:
1311
branches: [main, master]
1412
paths:
1513
- helpers/helm/**
16-
- helpers/hpc-mutating-webhook/**
17-
- helpers/hyper-v-mutating-webhook/**
1814
- .github/workflows/helm-chart-validation.yaml
1915
workflow_dispatch:
2016

.github/workflows/webhook-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
echo "Both webhook images built successfully!"
3838
3939
- name: Build and push webhook images to registry
40-
if: ${{ github.event_name == 'push' }}
40+
if: ${{ github.event_name != 'pull_request' }}
4141
run: |
4242
echo "Building and pushing both webhook images to registry..."
4343
echo "${{ secrets.DOCKER_SECRET }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin

0 commit comments

Comments
 (0)