Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fl42 committed Oct 23, 2024
1 parent e19e7a7 commit 9dd8e4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- master

concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e:
strategy:
Expand All @@ -19,10 +23,6 @@ jobs:
run: |
docker build -t tls-traffic-analyzer:latest --no-cache --build-arg BASE_IMAGE=$(echo ${{ matrix.os }} | sed s/-/:/) -f docker/Dockerfile .
- name: Get netwok interface
run: |
ip -4 route | awk '/default/{print $5}' >> $GITHUB_ENV
- name: Start container
run: |
docker run \
Expand All @@ -32,7 +32,7 @@ jobs:
--network host \
--pid host \
tls-traffic-analyzer:latest \
-i $INTERFACE -o /dumps --chown-traffic-dumps $UID --commands curl
-i $(ip -4 route | awk '/default/{print $5}') -o /dumps --chown-traffic-dumps $UID --commands curl
- name: Sleep and show logs
run: sleep 5 && docker logs $(docker ps -q)
Expand Down

0 comments on commit 9dd8e4c

Please sign in to comment.