Clean local Docker images after CI push
Build and deploy Docker image / build (push) Has been cancelled

This commit is contained in:
Ruslan Bakiev
2026-06-05 12:51:39 +07:00
parent c7e1904848
commit d2a2a13b3b
+1
View File
@@ -24,6 +24,7 @@ jobs:
docker build -t "$IMAGE:latest" -t "$IMAGE:${{ gitea.sha }}" . docker build -t "$IMAGE:latest" -t "$IMAGE:${{ gitea.sha }}" .
docker push "$IMAGE:latest" docker push "$IMAGE:latest"
docker push "$IMAGE:${{ gitea.sha }}" docker push "$IMAGE:${{ gitea.sha }}"
docker image rm -f "$IMAGE:latest" "$IMAGE:${{ gitea.sha }}"
- name: Deploy to Dokploy - name: Deploy to Dokploy
run: curl -fsS -X POST "https://ind.dsrptlab.com/api/deploy/ETL39L4zhtAK7QoXCX-aE" run: curl -fsS -X POST "https://ind.dsrptlab.com/api/deploy/ETL39L4zhtAK7QoXCX-aE"