Trim workflows to remove uneeded error handling and file renaming. #8
Workflow file for this run
This file contains hidden or 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: Check to make sure Dockerfile works | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| schedule: | |
| # Run the workflow every day at midnight | |
| - cron: 0 0 * * * | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest # Use a standard runner | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Docker | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y docker.io docker-compose | |
| sudo systemctl start docker | |
| - name: Build and Run Docker container | |
| run: | |
| docker build -t arch-iso-builder . && \ | |
| docker run --rm --privileged -v "$(pwd)":/workdir arch-iso-builder bash -c "mkarchiso -v -w workdir/ -o out/ ." |