Clean local Docker images after CI push
Build and deploy Docker image / build (push) Has been cancelled
Build and deploy Docker image / build (push) Has been cancelled
This commit is contained in:
@@ -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/2Y2RjGRTm4HIkcO2UmyHL"
|
run: curl -fsS -X POST "https://ind.dsrptlab.com/api/deploy/2Y2RjGRTm4HIkcO2UmyHL"
|
||||||
|
|||||||
Reference in New Issue
Block a user