From 3d6b2485d1807adc47975b295ffb6526bf46c3f5 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 18 Feb 2026 11:00:05 -0700 Subject: [PATCH] =?UTF-8?q?Updated=20the=20Solus=20workflow=E2=80=99s=20de?= =?UTF-8?q?fault=20container=20image=20from=20ghcr.io/getsolus/solus:lates?= =?UTF-8?q?t=20to=20docker.io/silkeh/solus:latest=20in=20both=20workflow?= =?UTF-8?q?=20input=20defaults=20and=20job=20env=20fallback,=20so=20the=20?= =?UTF-8?q?workflow=20no=20longer=20depends=20on=20a=20missing=20GHCR=20ta?= =?UTF-8?q?g=20by=20default.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added explicit error handling around docker pull "$SOLUS_IMAGE" with a clearer remediation message telling users to override solus_image if pull fails. --- .github/workflows/solus-eopkg-build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/solus-eopkg-build.yml b/.github/workflows/solus-eopkg-build.yml index 780c9072..bca257bc 100644 --- a/.github/workflows/solus-eopkg-build.yml +++ b/.github/workflows/solus-eopkg-build.yml @@ -10,7 +10,7 @@ on: solus_image: description: "Solus container image" required: false - default: "ghcr.io/getsolus/solus:latest" + default: "docker.io/silkeh/solus:latest" push: branches: - main @@ -24,7 +24,7 @@ jobs: build-eopkg: runs-on: ubuntu-latest env: - SOLUS_IMAGE: ${{ inputs.solus_image || 'ghcr.io/getsolus/solus:latest' }} + SOLUS_IMAGE: ${{ inputs.solus_image || 'docker.io/silkeh/solus:latest' }} PACKAGE_YML: ${{ inputs.package_yml || 'packaging/solus/package.yml' }} steps: - name: Checkout @@ -48,7 +48,11 @@ jobs: exit 1 fi - docker pull "$SOLUS_IMAGE" + if ! docker pull "$SOLUS_IMAGE"; then + echo "Failed to pull SOLUS_IMAGE=$SOLUS_IMAGE" >&2 + echo "Set workflow input 'solus_image' to a valid image that provides eopkg/ypkg." >&2 + exit 1 + fi docker run --rm \ -v "$PWD":/workspace \