diff mbox series

[5/7] CI: Small cleanup in the github actions workflow file

Message ID 20211105172620.304780-6-fbarrat@linux.ibm.com
State Accepted
Headers show
Series CI updates | expand

Commit Message

Frederic Barrat Nov. 5, 2021, 5:26 p.m. UTC
Strengthen the container security settings, since we don't seem to
need more. The rest of the patch is cosmectic.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
---
 .github/workflows/docker-builds-checks.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/.github/workflows/docker-builds-checks.yml b/.github/workflows/docker-builds-checks.yml
index c0201540..20246e17 100644
--- a/.github/workflows/docker-builds-checks.yml
+++ b/.github/workflows/docker-builds-checks.yml
@@ -1,19 +1,27 @@ 
 name: Docker builds and checks
-on: [push]
+
+on: [ push ]
 
 jobs:
   check_build:
+
     runs-on: ubuntu-latest
 
     strategy:
+
+      fail-fast: false
+
       matrix:
         os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-rolling, centos7, centos8, fedora33, fedora34, fedora35, docs ]
 
     steps:
       - uses: actions/checkout@v2
+
       - name: Create Docker image
         run: |
           docker build --pull -t ${{ matrix.os }} -f opal-ci/Dockerfile-${{ matrix.os }} .
-      - name: build skiboot and run checks
+
+      - name: Build skiboot and run checks
         run: |
-          docker run --security-opt seccomp=unconfined --volume `pwd`:/build --tmpfs /tmp/ --rm -t ${{ matrix.os }} bash -c "./opal-ci/build-${{ matrix.os }}.sh"
+          docker run --rm -t ${{ matrix.os }} bash -c "./opal-ci/build-${{ matrix.os }}.sh"
+