This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Do not expand space inside container #2
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 | |
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@v2 | |
- name: Run Fedora Tool | |
run: | | |
docker exec fedora-container your_fedora_tool_command_here |