Skip to content

Commit

Permalink
Correct default branch and drop scheduled building
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus authored Nov 7, 2024
1 parent 8d591fa commit 693d91b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ env:
DOCKER_IMAGE: wyrihaximusnet/kubernetes-redis-db-assignment-operator
on:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
supported-arch-matrix:
name: Supported processor architectures
Expand Down Expand Up @@ -85,7 +83,7 @@ jobs:
- run: rm -Rf /tmp/docker-image/
- 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'
push-image:
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main'
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/master'
name: Push
needs:
- supported-arch-matrix
Expand Down

0 comments on commit 693d91b

Please sign in to comment.