Add systemd entrypoint in Dockerfile.firewalld #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Firewalld | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-firewalld: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: | | |
docker build -t my-firewalld-image -f Dockerfile.firewalld . | |
- name: Run tests | |
run: | | |
docker run --init --privileged --rm -v /sys/fs/cgroup:/sys/fs/cgroup:ro my-firewalld-image bash -c "./firewalld-tests.sh" |