Skip to content

Commit

Permalink
Prune the docker system before running
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash committed Feb 11, 2020
1 parent f86fa83 commit 1328e13
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: Docker Image CI

on: [push, pull_request]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Build the extender-client.jar
run: (cd client && ../gradlew build)

- name: Test the extender-client.jar
run: (cd client && ../gradlew test)


- name: Prune Docker system
run: docker system prune -f

- name: Build the Docker image
run: ./server/scripts/build.sh -xtest
env:
S3_URL: ${{ secrets.S3_URL }}

- name: Test the Docker image
run: ./gradlew test
env:
Expand Down

0 comments on commit 1328e13

Please sign in to comment.