Skip to content

Commit a56ea23

Browse files
committed
Remove images before loading new ones
1 parent eba1307 commit a56ea23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ jobs:
9797
ssh -i ~/.ssh/id_rsa ${{ secrets.ssh_connection }} "
9898
cd ~/vectorapp/vector-portfolio
9999
100+
docker rmi -f vector-portfolio-nginx:latest
101+
docker rmi -f vector-portfolio-payload:latest
102+
100103
docker load -q -i payload.tar.gz
101104
docker load -q -i nginx.tar.gz
102105
rm payload.tar.gz

0 commit comments

Comments
 (0)