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 45e407c commit e355864
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=~/mytmp/myimage.tar
outputs: type=oci,dest=~/myimage.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: myimage
path: ~/mytmp/myimage.tar
path: ~/myimage.tar


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

0 comments on commit e355864

Please sign in to comment.