name: Build containers on: workflow_dispatch: pull_request: branches: ["main"] push: branches: ["main"] jobs: build_push: name: Build and push image runs-on: wesley-arm strategy: fail-fast: false matrix: image: [asahi-cosmic] version: [43] #Build current stable,next stable/rawhide (if not branched) steps: - name: Checkout uses: actions/checkout@v4 - name: Build run: | sudo podman build --tag misthios/asahi-cosmic:43 --file ./Containerfile --build-arg VERSION=43 --build-arg IMAGE=asahi-cosmic --privileged --cap-add=all --device /dev/fuse --device /dev/kvm - name: Login to Container Registry uses: redhat-actions/podman-login@v1 if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' with: registry: git.plabble.org username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }}