Skip to content

Commit

Permalink
Fix action for saving artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsierro committed Jan 15, 2024
1 parent ed055b8 commit 45e407c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
context: .
file: ./Dockerfile.prod
tags: ghcr.io/alexsierro/fabman/web:latest
outputs: type=oci,dest=/tmp/myimage.tar
outputs: type=oci,dest=~/mytmp/myimage.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: myimage
path: /tmp/myimage.tar
path: ~/mytmp/myimage.tar


deploy:
Expand All @@ -65,10 +65,10 @@ jobs:
uses: actions/download-artifact@v3
with:
name: myimage
path: /tmp
path: ~/mytmp
- name: Load image
run: |
docker load --input /tmp/myimage.tar
docker load --input ~/mytmp/myimage.tar
docker image ls -a
- name: Push image
run: |
Expand Down

0 comments on commit 45e407c

Please sign in to comment.