Replace ContainerImageTag and remove docker push commands #2
build-and-push-containers.yml
on: push
build-and-push
1m 23s
Annotations
1 error and 10 warnings
|
build-and-push
Process completed with exit code 1.
|
|
build-and-push:
src/BuildingBlocks/Storage/Local/LocalStorageService.cs#L16
In externally visible method 'Task<string> LocalStorageService.UploadAsync<T>(FileUploadRequest request, FileType fileType, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'request' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
|
build-and-push:
src/BuildingBlocks/Storage/Local/LocalStorageService.cs#L38
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'FSH.Framework.Storage.Local.LocalStorageService.UploadAsync<T>(FSH.Framework.Storage.DTOs.FileUploadRequest, FSH.Framework.Storage.FileType, System.Threading.CancellationToken)' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
build-and-push:
src/BuildingBlocks/Storage/Local/LocalStorageService.cs#L29
In method 'UploadAsync', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/CustomException.cs#L9
Add the following constructor to CustomException: public CustomException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/CustomException.cs#L9
Add the following constructor to CustomException: public CustomException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/CustomException.cs#L9
Add the following constructor to CustomException: public CustomException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/NotFoundException.cs#L8
Add the following constructor to NotFoundException: public NotFoundException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/ForbiddenException.cs#L7
Add the following constructor to ForbiddenException: public ForbiddenException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/NotFoundException.cs#L8
Add the following constructor to NotFoundException: public NotFoundException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|
|
build-and-push:
src/BuildingBlocks/Core/Exceptions/UnauthorizedException.cs#L7
Add the following constructor to UnauthorizedException: public UnauthorizedException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
|