diff --git a/.github/workflows/as-docker-build.yml b/.github/workflows/as-docker-build.yml index e8d7db3c5..b6cc59692 100644 --- a/.github/workflows/as-docker-build.yml +++ b/.github/workflows/as-docker-build.yml @@ -1,12 +1,5 @@ name: AS/RVPS Container Image Build on: - push: - branches: - - "main" - paths: - - 'attestation-service/**' - - '.github/workflows/as-docker-build.yml' - - 'Cargo.toml' pull_request: paths: - 'attestation-service/**' @@ -16,6 +9,5 @@ on: jobs: check_as_image_build: - if: github.event_name == 'pull_request' || github.event_name == 'push' uses: ./.github/workflows/build-as-image.yml secrets: inherit diff --git a/.github/workflows/kbs-docker-build.yml b/.github/workflows/kbs-docker-build.yml index f979b788f..f8e64aa08 100644 --- a/.github/workflows/kbs-docker-build.yml +++ b/.github/workflows/kbs-docker-build.yml @@ -1,7 +1,5 @@ name: KBS Container Image Build on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ]