Skip to content

Commit 394d041

Browse files
authored
Merge pull request #37 from WyriHaximusNet/correct-default-branch-and-drop-scheduled-building
Correct default branch and drop scheduled building
2 parents 8d591fa + 693d91b commit 394d041

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ env:
33
DOCKER_IMAGE: wyrihaximusnet/kubernetes-redis-db-assignment-operator
44
on:
55
push:
6-
schedule:
7-
- cron: '0 0 * * 0'
86
jobs:
97
supported-arch-matrix:
108
name: Supported processor architectures
@@ -85,7 +83,7 @@ jobs:
8583
- run: rm -Rf /tmp/docker-image/
8684
- run: echo -e "${{ env.DOCKER_IMAGE }}:${{ env.PLATFORM_PAIR }}" | xargs -I % sh -c 'docker run -v /tmp/trivy:/var/lib/trivy -v /var/run/docker.sock:/var/run/docker.sock -t aquasec/trivy:latest --cache-dir /var/lib/trivy image --exit-code 1 --no-progress --format table % || true'
8785
push-image:
88-
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main'
86+
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/master'
8987
name: Push
9088
needs:
9189
- supported-arch-matrix

0 commit comments

Comments
 (0)