You've already forked fedora-bootc
Split niri and gnome builds using a matrix workflow, for now.
This commit is contained in:
@@ -38,6 +38,10 @@ jobs:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
variant: [gnome, niri]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
@@ -74,9 +78,9 @@ jobs:
|
||||
# This generates all the tags for your image, you can add custom tags here too!
|
||||
tags: |
|
||||
type=sha,enable=${{ github.event_name == 'pull_request' }}
|
||||
type=raw,value=latest
|
||||
type=raw,value=${{ env.FEDORA_BASE }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-{{date 'YYYYMMDD'}}
|
||||
type=raw,value=latest-${{ matrix.variant }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-${{ matrix.variant }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-${{ matrix.variant }}-{{date 'YYYYMMDD'}}
|
||||
type=ref,event=pr
|
||||
labels: |
|
||||
io.artifacthub.package.readme-url=${{ env.README_URL }}
|
||||
@@ -106,7 +110,7 @@ jobs:
|
||||
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
|
||||
with:
|
||||
containerfiles: |
|
||||
./Containerfile
|
||||
./Containerfile.${{ matrix.variant }}
|
||||
build-args: |
|
||||
FEDORA_BASE=${{ env.FEDORA_BASE }}
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
|
||||
Reference in New Issue
Block a user