This commit is contained in:
		
							parent
							
								
									4e9e561660
								
							
						
					
					
						commit
						aa55afa648
					
				
					 2 changed files with 7 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -17,10 +17,8 @@ jobs:
 | 
			
		|||
  build:
 | 
			
		||||
    runs-on: linux-lg
 | 
			
		||||
    container:
 | 
			
		||||
      image: fedora:40
 | 
			
		||||
      image: code.lightstands.xyz/standcoded/fedora:40
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Install Tools
 | 
			
		||||
        run: 'dnf install -y --setopt install_weak_deps=False nodejs git buildah qemu-user-static qemu-user-binfmt fuse-overlayfs --exclude container-selinux'
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - name: Fulfill Package Manager Cache
 | 
			
		||||
| 
						 | 
				
			
			@ -28,17 +26,17 @@ jobs:
 | 
			
		|||
      - name: Build Minimal Images
 | 
			
		||||
        run: |
 | 
			
		||||
          cd fedora-40-minimal && \
 | 
			
		||||
          buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora:40-minimal && \
 | 
			
		||||
          buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch aarch64 \
 | 
			
		||||
          buildah --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora-minimal:40 && \
 | 
			
		||||
          buildah --cgroup-manager=cgroupfs build --arch aarch64 \
 | 
			
		||||
            --pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
 | 
			
		||||
            --manifest code.lightstands.xyz/standcoded/fedora:40-minimal .
 | 
			
		||||
            --manifest code.lightstands.xyz/standcoded/fedora-minimal:40 .
 | 
			
		||||
        env:
 | 
			
		||||
          BUILDAH_ISOLATION: chroot
 | 
			
		||||
      - name: Build Images
 | 
			
		||||
        run: |
 | 
			
		||||
          cd fedora-40 && \
 | 
			
		||||
          buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora:40 && \
 | 
			
		||||
          buildah --storage-opt mount_program=/usr/bin/fuse-overlayfs --cgroup-manager=cgroupfs build --arch aarch64 \
 | 
			
		||||
          buildah --cgroup-manager=cgroupfs manifest create code.lightstands.xyz/standcoded/fedora:40 && \
 | 
			
		||||
          buildah --cgroup-manager=cgroupfs build --arch aarch64 \
 | 
			
		||||
            --pid=host --ipc=host --network=host --userns=host --uts=host -v /var/cache/dnf:/var/cache/dnf \
 | 
			
		||||
            --manifest code.lightstands.xyz/standcoded/fedora:40 .
 | 
			
		||||
        env:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue