Allow key.dns_resolve create and use unix datagram socket #3617
Workflow file for this run
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:rawhide | |
options: --security-opt seccomp=unconfined | |
steps: | |
- uses: actions/checkout@v3 | |
- run: dnf install --nogpgcheck -y git-core checkpolicy policycoreutils-devel make m4 findutils | |
- run: git clone --depth=1 https://github.com/containers/container-selinux.git /tmp/container-selinux | |
- run: cp /tmp/container-selinux/container.* policy/modules/contrib | |
- run: make -j $(nproc) policy | |
- run: make -j $(nproc) validate | |
- run: make -j $(nproc) container.pp | |
build-rpm: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:rawhide | |
options: --security-opt seccomp=unconfined | |
steps: | |
- run: dnf install --nogpgcheck -y make git-core rpm-build 'dnf-command(builddep)' | |
- uses: actions/checkout@v3 | |
# https://github.blog/2022-04-12-git-security-vulnerability-announced/ | |
- run: git config --global --add safe.directory "$PWD" | |
- run: make -C .copr srpm outdir="$PWD" | |
- name: Store the SRPM as an artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: srpm | |
path: "*.src.rpm" | |
- run: | | |
if grep -q rawhide /etc/os-release; then | |
tag=rawhide | |
else | |
tag='f$releasever-build' | |
fi | |
dnf builddep --nogpgcheck --repofrompath "koji,https://kojipkgs.fedoraproject.org/repos/$tag/latest/\$arch/" -y *.src.rpm | |
- run: rpmbuild --define "_topdir $PWD/rpmbuild" -rb *.src.rpm | |
- name: Store binary RPMs as artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: rpms | |
path: rpmbuild/RPMS |