From 0f95afe9cb44a07e124efe92b1a7291256a545f8 Mon Sep 17 00:00:00 2001 From: Donkie Date: Thu, 18 May 2023 16:14:22 +0200 Subject: [PATCH] Fixed incorrect artifact names, added build cache --- .github/workflows/integration-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index eec8262..bdf08f0 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -21,6 +21,8 @@ jobs: context: . tags: donkie/spoolman:test outputs: type=docker,dest=/tmp/spoolman.tar + cache-from: type=gha + cache-to: type=gha,mode=max - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -39,6 +41,8 @@ jobs: context: ./tests_integration tags: donkie/spoolman-tester:latest outputs: type=docker,dest=/tmp/spoolman-tester.tar + cache-from: type=gha + cache-to: type=gha,mode=max - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -59,8 +63,8 @@ jobs: path: /tmp - name: Load images run: | - docker load --input /tmp/spoolman.tar - docker load --input /tmp/spoolman-tester.tar + docker load --input /tmp/spoolman + docker load --input /tmp/spoolman-tester - uses: isbang/compose-action@v1.4.1 with: compose-file: "./tests_integration/docker-compose-${{ matrix.dbtype }}.yml"