diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba0892a..d55a7ad 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,6 +42,8 @@ jobs: run: | IMAGE="${{ secrets.WINSOMNIA_REGISTRY }}/winsomnia/${{ steps.envdetect.outputs.repo_slug }}:${GITHUB_REF_NAME}" + echo ${{ secrets.WINSOMNIA_NUGET_SOURCE }} + docker build \ --secret id=nuget_username,env=WINSOMNIA_NUGET_USERNAME \ --secret id=nuget_token,env=WINSOMNIA_NUGET_TOKEN \ diff --git a/Dockerfile b/Dockerfile index 267e297..c6ed562 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,10 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY . . +RUN --mount=type=secret,id=nuget_source \ + ls -l /run/secrets && \ + echo "NUGET_SOURCE='$(cat /run/secrets/nuget_source || true)'" + RUN --mount=type=secret,id=nuget_username \ --mount=type=secret,id=nuget_token \ --mount=type=secret,id=nuget_source \