From 07c12608f1a0d03cbff33e7b63114b0dbfcc9334 Mon Sep 17 00:00:00 2001 From: katarinagud Date: Mon, 28 Oct 2024 13:08:40 +0100 Subject: [PATCH] add secrets to docker build --- .github/workflows/dotnet.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index d44d357..8081b8b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -51,6 +51,9 @@ jobs: no-cache: true context: . file: ${{ inputs.dockerfile || 'Source/Dockerfile' }} + secrets: | + NUGET_GITHUB_PACKAGES_USERNAME=${{ secrets.NUGET_GITHUB_PACKAGES_USERNAME }} + NUGET_GITHUB_PACKAGES_TOKEN=${{ secrets.NUGET_GITHUB_PACKAGES_TOKEN }} load: true platforms: linux/amd64 tags: image:local