diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 116f906..5dbe716 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -95,3 +95,13 @@ jobs: source ".env" echo -e "\u001b[36mDeploying Stack: \u001b[37;1mlolstats" docker stack deploy -c "docker-compose.yml" "lolstats" --with-registry-auth + + - name: Docker Deploy cleanup + run: | + eval "$(ssh-agent -s)" + ssh-add -D + rm /root/.ssh/known_hosts + rm /root/.ssh/id_rsa + docker context use default + docker context rm remote +