Skip to content

Commit

Permalink
add secrets to docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinagud committed Oct 28, 2024
1 parent cf17d59 commit 07c1260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07c1260

Please sign in to comment.