From 693d91b80c6fd0324b0a665b2b10dc5dbc8fa722 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 7 Nov 2024 07:49:23 +0100 Subject: [PATCH] Correct default branch and drop scheduled building --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8e662e..f67b70e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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