diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 04f16dd5..1c45818f 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -37,16 +37,16 @@ env: podman buildah katsu - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm + https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-41.noarch.rpm + https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-41.noarch.rpm REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} on: push: - branches: [ "um40" ] + branches: ["um41"] workflow_dispatch: pull_request: - branches: [ "um40" ] + branches: ["um41"] jobs: #### DOCKER ###### @@ -64,7 +64,7 @@ jobs: # ubuntu-latest unless we're building aarch64 runs-on: ${{ endsWith(matrix.variant, '-aarch64') && 'arm64' || 'ubuntu-latest' }} container: - image: ghcr.io/terrapkg/builder:f40 + image: ghcr.io/terrapkg/builder:f41 # Pass /dev from host to container # Very hacky, but it works # Microsoft/Github, if you're reading this, @@ -100,9 +100,9 @@ jobs: host_arch="arm64" fi - # tarball katsu-work/chroot then import using podman with tag ghcr.io/ultramarine-linux/ultramarine:40 - tar -C katsu-work/chroot -c . | podman import --change='CMD ["/usr/bin/bash"]' - ghcr.io/ultramarine-linux/ultramarine:40 --arch $host_arch - podman save --format oci-archive ghcr.io/ultramarine-linux/ultramarine:40 --output katsu-work/image/katsu.tar.xz + # tarball katsu-work/chroot then import using podman with tag ghcr.io/ultramarine-linux/ultramarine:41 + tar -C katsu-work/chroot -c . | podman import --change='CMD ["/usr/bin/bash"]' - ghcr.io/ultramarine-linux/ultramarine:41 --arch $host_arch + podman save --format oci-archive ghcr.io/ultramarine-linux/ultramarine:41 --output katsu-work/image/katsu.tar.xz popd - name: Upload Artifact @@ -137,7 +137,7 @@ jobs: run: | set -x MANIFEST="ghcr.io/ultramarine-linux/ultramarine" - RELEASE="40" + RELEASE="41" ls -lR buildah manifest create $MANIFEST buildah manifest add $MANIFEST oci-archive:base-base-docker-x86_64-docker/katsu.tar.xz --arch amd64 @@ -145,50 +145,49 @@ jobs: # also tag as latest buildah tag $MANIFEST $MANIFEST:latest || : buildah manifest push --all --format v2s2 $MANIFEST docker://$MANIFEST:$RELEASE - + docker-layer: permissions: - contents: read - packages: write + contents: read + packages: write runs-on: ubuntu-latest needs: docker-push strategy: - fail-fast: true - matrix: - version: - - 40 - docker: - - dockerfile: dockerfiles/devtools.dockerfile - image: ghcr.io/ultramarine-linux/ultramarine-devtools - - dockerfile: dockerfiles/gitpod.dockerfile - image: ghcr.io/ultramarine-linux/ultramarine-gitpod - + fail-fast: true + matrix: + version: + - 41 + docker: + - dockerfile: dockerfiles/devtools.dockerfile + image: ghcr.io/ultramarine-linux/ultramarine-devtools + - dockerfile: dockerfiles/gitpod.dockerfile + image: ghcr.io/ultramarine-linux/ultramarine-gitpod + steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Log into registry ${{ env.REGISTRY }} - uses: docker/login-action@v2.1.0 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build images - uses: docker/build-push-action@v6 - with: - context: . - file: ${{ matrix.docker.dockerfile }} - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ${{ matrix.docker.image }}:${{ matrix.version }} - ${{ matrix.docker.image }}:latest - build-args: | - RELEASE=${{ matrix.version }} - + - name: Checkout + uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log into registry ${{ env.REGISTRY }} + uses: docker/login-action@v2.1.0 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build images + uses: docker/build-push-action@v6 + with: + context: . + file: ${{ matrix.docker.dockerfile }} + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ${{ matrix.docker.image }}:${{ matrix.version }} + ${{ matrix.docker.image }}:latest + build-args: | + RELEASE=${{ matrix.version }} #### LIVE ISO #### diff --git a/.github/workflows/build-katsu.yml b/.github/workflows/build-katsu.yml index 25a3ad1b..155bb117 100644 --- a/.github/workflows/build-katsu.yml +++ b/.github/workflows/build-katsu.yml @@ -38,15 +38,15 @@ env: podman buildah katsu - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm + https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-41.noarch.rpm + https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-41.noarch.rpm on: push: - branches: ["um40"] + branches: ["um41"] workflow_dispatch: pull_request: - branches: ["um40"] + branches: ["um41"] jobs: #### BASE IMAGES #### @@ -79,7 +79,7 @@ jobs: variant: xfce/xfce-chromebook runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'arm64' }} container: - image: ghcr.io/terrapkg/builder:f40 + image: ghcr.io/terrapkg/builder:f41 # Pass /dev from host to container # Very hacky, but it works # Microsoft/Github, if you're reading this, @@ -136,7 +136,7 @@ jobs: - xfce/xfce-live runs-on: ${{ matrix.arch == 'x86_64' && matrix.variant == 'kde/kde-live' && 'x86-64-lg' || matrix.arch == 'x86_64' && 'ubuntu-latest' || 'arm64' }} container: - image: ghcr.io/terrapkg/builder:f40 + image: ghcr.io/terrapkg/builder:f41 # Pass /dev from host to container # Very hacky, but it works # Microsoft/Github, if you're reading this, @@ -192,7 +192,7 @@ jobs: push-image: runs-on: arm64 container: - image: ghcr.io/terrapkg/builder:f40 + image: ghcr.io/terrapkg/builder:f41 environment: production needs: - live-iso @@ -224,7 +224,7 @@ jobs: type=$2 - IMAGEDIR=images/$type/ultramarine/40/ + IMAGEDIR=images/$type/ultramarine/41/ mkdir -p $IMAGEDIR filename=$(basename -- "$file") diff --git a/katsu/modules/base/base-disk-aarch64.yaml b/katsu/modules/base/base-disk-aarch64.yaml index 34ff1d3a..d13a3962 100644 --- a/katsu/modules/base/base-disk-aarch64.yaml +++ b/katsu/modules/base/base-disk-aarch64.yaml @@ -1,5 +1,5 @@ builder: dnf -distro: Ultramarine Linux 40 +distro: Ultramarine Linux 41 # users: # - username: ultramarine @@ -13,7 +13,7 @@ import: - base-disk.yaml dnf: - releasever: 40 + releasever: 41 arch: aarch64 packages: - ultramarine-release-identity-basic diff --git a/katsu/modules/base/base-disk-x86_64.yaml b/katsu/modules/base/base-disk-x86_64.yaml index 01cbe186..e7269210 100644 --- a/katsu/modules/base/base-disk-x86_64.yaml +++ b/katsu/modules/base/base-disk-x86_64.yaml @@ -1,5 +1,5 @@ builder: dnf -distro: Ultramarine Linux 40 +distro: Ultramarine Linux 41 # users: # - username: ultramarine @@ -13,7 +13,7 @@ import: - base-disk.yaml dnf: - releasever: 40 + releasever: 41 packages: - ultramarine-release-identity-basic - ultramarine-release-basic diff --git a/katsu/modules/base/base-disk.yaml b/katsu/modules/base/base-disk.yaml index 6080c201..172c98c4 100644 --- a/katsu/modules/base/base-disk.yaml +++ b/katsu/modules/base/base-disk.yaml @@ -7,7 +7,7 @@ scripts: name: Extra configuration for disk images file: disk-setup.sh dnf: - releasever: 40 + releasever: 41 options: - --setopt=cachedir=/var/cache/dnf - --setopt=keepcache=True diff --git a/katsu/modules/base/base-docker-aarch64.yaml b/katsu/modules/base/base-docker-aarch64.yaml index 4ea61f53..41ed7fb5 100644 --- a/katsu/modules/base/base-docker-aarch64.yaml +++ b/katsu/modules/base/base-docker-aarch64.yaml @@ -1,9 +1,9 @@ builder: dnf -distro: Ultramarine Linux 40 Container +distro: Ultramarine Linux 41 Container import: - base-docker.yaml dnf: - releasever: 40 + releasever: 41 arch: aarch64 diff --git a/katsu/modules/base/base-docker-x86_64.yaml b/katsu/modules/base/base-docker-x86_64.yaml index 80bca9a7..a89bf1d3 100644 --- a/katsu/modules/base/base-docker-x86_64.yaml +++ b/katsu/modules/base/base-docker-x86_64.yaml @@ -1,9 +1,9 @@ builder: dnf -distro: Ultramarine Linux 40 Container +distro: Ultramarine Linux 41 Container import: - base-docker.yaml dnf: - releasever: 40 + releasever: 41 arch: x86_64 diff --git a/katsu/modules/base/base-docker.yaml b/katsu/modules/base/base-docker.yaml index b54b5090..52400239 100644 --- a/katsu/modules/base/base-docker.yaml +++ b/katsu/modules/base/base-docker.yaml @@ -2,7 +2,7 @@ builder: dnf dnf: repodir: repodir/ - releasever: 40 + releasever: 41 options: - --setopt=cachedir=/var/cache/dnf - --setopt=keepcache=True