diff --git a/.github/workflows/packages.yaml b/.github/workflows/packages.yaml index 6475cf2c..17d95931 100644 --- a/.github/workflows/packages.yaml +++ b/.github/workflows/packages.yaml @@ -16,6 +16,13 @@ name: image on: + pull_request: + types: + - opened + - synchronize + branches: + - main + - release-* push: branches: - main @@ -33,10 +40,24 @@ jobs: - centos7-aarch64 - centos7-x86_64 - centos8-ppc64le + ispr: + - ${{github.event_name == 'pull_request'}} + exclude: + - ispr: true + package: ubuntu18.04-arm64 + - ispr: true + package: ubuntu18.04-ppc64le + - ispr: true + package: centos7-aarch64 + - ispr: true + package: centos8-ppc64le fail-fast: false steps: - uses: actions/checkout@v4 name: Check out code + with: + fetch-tags: true + fetch-depth: 1024 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx