We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d49b75f commit 16cb725Copy full SHA for 16cb725
1 file changed
cloudformation/scenarios/localgov-ims/docker/Dockerfile
@@ -75,7 +75,9 @@ RUN Invoke-WebRequest -Uri 'https://github.com/LocalGovIMS/localgov-ims-integrat
75
Remove-Item src.zip, C:\tmp -Recurse -Force
76
77
# Add GitHub Packages NuGet source for LocalGovIMS packages
78
-RUN dotnet nuget add source "https://nuget.pkg.github.com/LocalGovIMS/index.json" `
+# Use remove+add to avoid "source already exists" error on rebuild
79
+RUN dotnet nuget remove source github 2>$null ; `
80
+ dotnet nuget add source "https://nuget.pkg.github.com/LocalGovIMS/index.json" `
81
-n github -u USERNAME -p $env:GITHUB_TOKEN --store-password-in-clear-text
82
83
# Restore and publish
0 commit comments