Skip to content

Commit

Permalink
chore: use runner.temp
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshack committed Jan 3, 2024
1 parent e3b163b commit 9be6123
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
tags: mdshack/shotshare:ci
cache-from: type=registry,ref=mdshack/shotshare:latest
file: ./.docker/Dockerfile
outputs: type=local,dest=/tmp/image.tar
outputs: type=local,dest=${{ runner.temp }}/image.tar

- name: Upload docker image
uses: actions/upload-artifact@v4
with:
name: docker-image
path: /tmp/image.tar
path: ${{ runner.temp }}/image.tar

unit-tests:
runs-on: ubuntu-latest
Expand All @@ -42,10 +42,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: docker-image
path: /tmp/image.tar
path: ${{ runner.temp }}/image.tar

- name: Load docker image
run: docker load --input /tmp/image.tar
run: docker load --input ${{ runner.temp }}/image.tar

- uses: addnab/docker-run-action@v3
with:
Expand All @@ -60,10 +60,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: docker-image
path: /tmp/image.tar
path: ${{ runner.temp }}/image.tar

- name: Load docker image
run: docker load --input /tmp/image.tar
run: docker load --input ${{ runner.temp }}/image.tar

- uses: addnab/docker-run-action@v3
with:
Expand Down

0 comments on commit 9be6123

Please sign in to comment.