initial asahi-cosmic setup
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 2s
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 2s
This commit is contained in:
@@ -15,12 +15,12 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
image: [base]
|
||||
version: [43,44] #Build current stable,next stable/rawhide (if not branched)
|
||||
image: [asahi-cosmic]
|
||||
version: [43] #Build current stable,next stable/rawhide (if not branched)
|
||||
|
||||
container:
|
||||
image: "quay.io/fedora-ostree-desktops/buildroot:43"
|
||||
options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw"
|
||||
options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw --platform=linux/arm64"
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -45,7 +45,7 @@ echo "Composing ${VERSION}.${buildid} ..."
|
||||
|
||||
# repos import
|
||||
cp images/shared/*.repo "${IMAGE_DIR}"
|
||||
cp "${IMAGE_DIR}"/repos/*.repo "${IMAGE_DIR}"
|
||||
cp "${IMAGE_DIR}"/{$IMAGE}/repos/*.repo "${IMAGE_DIR}"
|
||||
|
||||
# Ensure manifest has correct ref and releasever
|
||||
sed -i '/^ref:/d' "$MANIFEST"
|
||||
@@ -54,7 +54,7 @@ sed -i "1i releasever: ${VERSION}" "$MANIFEST"
|
||||
sed -i "1i ref: ${REF}" "$MANIFEST"
|
||||
|
||||
#Run a optional per image script to do image specific things
|
||||
POSTPROCESS="${IMAGE_DIR}/postprocess.sh"
|
||||
POSTPROCESS="${IMAGE_DIR}/${IMAGE}"/postprocess.sh"
|
||||
if [[ -x "${POSTPROCESS}" ]]; then
|
||||
echo "Running postprocess script: ${POSTPROCESS}"
|
||||
"${POSTPROCESS}"
|
||||
|
||||
Reference in New Issue
Block a user