Fixed incorrect artifact names, added build cache
This commit is contained in:
8
.github/workflows/integration-test.yml
vendored
8
.github/workflows/integration-test.yml
vendored
@@ -21,6 +21,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
tags: donkie/spoolman:test
|
tags: donkie/spoolman:test
|
||||||
outputs: type=docker,dest=/tmp/spoolman.tar
|
outputs: type=docker,dest=/tmp/spoolman.tar
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -39,6 +41,8 @@ jobs:
|
|||||||
context: ./tests_integration
|
context: ./tests_integration
|
||||||
tags: donkie/spoolman-tester:latest
|
tags: donkie/spoolman-tester:latest
|
||||||
outputs: type=docker,dest=/tmp/spoolman-tester.tar
|
outputs: type=docker,dest=/tmp/spoolman-tester.tar
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -59,8 +63,8 @@ jobs:
|
|||||||
path: /tmp
|
path: /tmp
|
||||||
- name: Load images
|
- name: Load images
|
||||||
run: |
|
run: |
|
||||||
docker load --input /tmp/spoolman.tar
|
docker load --input /tmp/spoolman
|
||||||
docker load --input /tmp/spoolman-tester.tar
|
docker load --input /tmp/spoolman-tester
|
||||||
- uses: isbang/compose-action@v1.4.1
|
- uses: isbang/compose-action@v1.4.1
|
||||||
with:
|
with:
|
||||||
compose-file: "./tests_integration/docker-compose-${{ matrix.dbtype }}.yml"
|
compose-file: "./tests_integration/docker-compose-${{ matrix.dbtype }}.yml"
|
||||||
|
|||||||
Reference in New Issue
Block a user