Skip to content

Commit

Permalink
pipeline updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pamodaDilranga committed Jul 5, 2024
1 parent a50ac79 commit 9cac87c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/est-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
runs-on: [self-hosted, est-cls-dev]
runs-on: [self-hosted, dev]

steps:
- name: Checkout code
Expand All @@ -17,8 +17,10 @@ jobs:
run: |
docker stop $(docker ps -a -q) || true
docker rm $(docker ps -a -q) || true
docker rmi $(docker images -q) || true
docker system prune -af
images_to_keep="authentication-layer|tim|data-mapper|resql|ruuter"
docker images --format "{{.Repository}}:{{.Tag}}" | grep -Ev "$images_to_keep" | xargs -r docker rmi || true
docker volume prune -f
docker network prune -f
- name: Build and run Docker Compose
run: |
Expand Down

0 comments on commit 9cac87c

Please sign in to comment.