Skip to content

Commit

Permalink
Add container name in firewalld test workflow
Browse files Browse the repository at this point in the history
Specify a container name for the firewalld test container in the GitHub Actions workflow. This improves container management and makes debugging easier by clearly identifying the container.
  • Loading branch information
dvershinin committed Dec 19, 2024
1 parent 417754e commit b0c75eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-firewalld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run tests
run: |
# Run the container with systemd initialization
docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:rw --cgroupns=host my-firewalld-image --name firewalld-container
docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:rw --cgroupns=host --name firewalld-container my-firewalld-image
# Wait for the container to be fully initialized
sleep 10
Expand Down

0 comments on commit b0c75eb

Please sign in to comment.