From 3b95e840dbda0c8f8ffe82d1d0ce0f9c6a9dacc5 Mon Sep 17 00:00:00 2001 From: Joao Patricio Date: Wed, 29 Mar 2023 16:57:55 +0100 Subject: [PATCH] Prepare GH Action and Pest --- .github/workflows/docker-image.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c42a18f2c..79844762c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -7,13 +7,21 @@ on: branches: [ "*" ] jobs: - build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: | + /usr/local/share/ca-certificates + /var/cache/apt/archives + /var/lib/apt/lists + ~/.cache + key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }} + restore-keys: | + ${{ runner.os }}-docker- - name: Build the Docker image run: | cp .env.example .env