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:45 +07:00
parent 7a92dcc71a
commit 1750e8052c
+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/8KU24cMi_nHB4S16dhDB3" run: curl -fsS -X POST "https://ind.dsrptlab.com/api/deploy/8KU24cMi_nHB4S16dhDB3"