Skip to content

Commit a3ef070

Browse files
Copilotbaynezy
andauthored
Fix SonarQube docker:S6476 - use uppercase AS in multi-stage build (#232)
* Initial plan * Initial project analysis and build verification Co-authored-by: baynezy <[email protected]> * Fix SonarQube docker:S6476 - use uppercase AS in multi-stage build Co-authored-by: baynezy <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: baynezy <[email protected]>
1 parent d447741 commit a3ef070

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,7 @@ fabric.properties
9494
*.DotSettings.user
9595

9696
#Verify
97-
*.received.txt
97+
*.received.txt
98+
99+
# Test results
100+
TestResults/

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Migrated from `thomaseizinger/keep-a-changelog-new-release` to `baynezy/ChangeLogger.Action` (#210)
1313
- Added GH_TOKEN environment variable to all GitHub Action workflows for consistent token access (#215)
1414
- Set up copilot environment (#225)
15+
- Updated Dockerfile to use uppercase 'AS' in multi-stage builds for SonarQube compliance (#229)
1516

1617
## [1.1.1.16] - 2025-06-06
1718

src/SemVer.Json/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set the base image as the .NET 7.0 SDK (this includes the runtime)
2-
FROM mcr.microsoft.com/dotnet/sdk:9.0 as build-env
2+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
33

44
# Copy everything and publish the release (publish implicitly restores and builds)
55
WORKDIR /app

0 commit comments

Comments
 (0)