Skip to content

Commit 4f1bf0d

Browse files
authored
Update deploy.yml
Fix permission on saving tar file
1 parent 82a051b commit 4f1bf0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
- name: Save Docker image as tar
2323
run: docker save flask-api:latest -o flask-api.tar
2424

25+
- name: Fix permissions on tar file
26+
run: chmod 644 flask-api.tar
27+
28+
2529
- name: Copy Docker image to VM
2630
uses: appleboy/scp-action@v0.1.7
2731
with:

0 commit comments

Comments
 (0)