From 7417e8c3eb22e5745bb8995647451ac1708633bf Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Wed, 10 Dec 2025 00:41:39 +0300 Subject: [PATCH] build: logging for test --- .github/workflows/deploy.yml | 2 ++ Dockerfile | 4 ++++ 2 files changed, 6 insertions(+) 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 \