dockerfile: drop inline 'dotnet nuget add source isn.pschneider.fr' #18

Merged
notazof merged 1 commit from fix/github-action-apk into main 2026-08-16 15:51:09 +01:00
Owner

The project-level NuGet.config (added in 94012c51) lists the isn feed
so 'dotnet restore' picks it up without an inline 'dotnet nuget add
source' step.

The inline add source was duplicating NuGet.config and causing build
failures in GitHub Actions:

  • The --allow-insecure-connections flag did not match the actual
    HTTPS deployment of isn.pschneider.fr (Letsencrypt-issued cert,
    not self-signed), making the step fail with 'exit code 1'.
  • docker build --target build-env (used by
    .github/workflows/docker-publish-android.yml) hit this on every
    run.

Both Dockerfile and Dockerfile.backend had the same redundant step;
both removed. 'dotnet restore' still finds the feed via NuGet.config
at /src/NuGet.config (copied in by 'COPY . .').

The project-level NuGet.config (added in 94012c51) lists the isn feed so 'dotnet restore' picks it up without an inline 'dotnet nuget add source' step. The inline add source was duplicating NuGet.config and causing build failures in GitHub Actions: - The --allow-insecure-connections flag did not match the actual HTTPS deployment of isn.pschneider.fr (Letsencrypt-issued cert, not self-signed), making the step fail with 'exit code 1'. - docker build --target build-env (used by .github/workflows/docker-publish-android.yml) hit this on every run. Both Dockerfile and Dockerfile.backend had the same redundant step; both removed. 'dotnet restore' still finds the feed via NuGet.config at /src/NuGet.config (copied in by 'COPY . .').
dockerfile: drop inline 'dotnet nuget add source isn.pschneider.fr'
Some checks failed
Dotnet build and test / log-the-inputs (pull_request) Successful in 16s
Dotnet build and test / build (pull_request) Failing after 7m32s
eaa4c16936
The project-level NuGet.config (added in 94012c51) lists the isn feed
so 'dotnet restore' picks it up without an inline 'dotnet nuget add
source' step.

The inline add source was duplicating NuGet.config and causing build
failures in GitHub Actions:
  - The --allow-insecure-connections flag did not match the actual
    HTTPS deployment of isn.pschneider.fr (Letsencrypt-issued cert,
    not self-signed), making the step fail with 'exit code 1'.
  - docker build --target build-env (used by
    .github/workflows/docker-publish-android.yml) hit this on every
    run.

Both Dockerfile and Dockerfile.backend had the same redundant step;
both removed. 'dotnet restore' still finds the feed via NuGet.config
at /src/NuGet.config (copied in by 'COPY . .').
notazof deleted branch fix/github-action-apk 2026-08-16 15:51:09 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
notazof/yavsc!18
No description provided.