build: logging for test
Some checks failed
Winsomnia GitOps Pipeline / build-and-push (push) Failing after 21s
Winsomnia GitOps Pipeline / deploy (push) Has been skipped

This commit is contained in:
2025-12-10 00:41:39 +03:00
parent 3ea1f2b603
commit 7417e8c3eb
2 changed files with 6 additions and 0 deletions

View File

@@ -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 \

View File

@@ -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 \