This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Drop all caps #5
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: Updating ostree repository | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-ostree-repo: | |
runs-on: ubuntu-22.04 | |
container: | |
image: fedora:latest | |
options: --name=fedora-container --cap-add CAP_SYS_ADMIN --cap-drop all | |
volumes: | |
- /mnt/fedora-container:/mnt/rpm-ostree-repo | |
steps: | |
- name: Checking out repository code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Fedora Tool | |
run: bash build_rpm-ostree_repo.sh |