build: logging for test
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user