Skip to content

Commit 873a19a

Browse files
authored
Merge pull request #242 from Afterlife-Guide/hotfix/issue-240-docker-bug
Revert switching docker to non-root
2 parents f5f6903 + 369186d commit 873a19a

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.idea/.idea.SemVer.Action/.idea/.gitignore

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.1.19] - 2025-09-09
11+
12+
## Changed
13+
14+
- Reverted Docker non-root (#240)
15+
1016
## [1.2.0.13] - 2025-09-08
1117

1218
### Fixed
@@ -71,7 +77,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7177

7278
## [0.1.0.1] - 2024-03-22
7379

74-
[unreleased]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.2.0.13...HEAD
80+
[unreleased]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.2.1.19...HEAD
81+
[1.2.1.19]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.2.0.13...1.2.1.19
7582
[1.2.0.13]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.1.1.16...1.2.0.13
7683
[1.1.1.16]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.1.0.12...1.1.1.16
7784
[1.1.0.12]: https://github.com/Afterlife-Guide/SemVer.Action/compare/1.0.9.11...1.1.0.12

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ outputs:
3434
description: 'The full version number'
3535
runs:
3636
using: 'docker'
37-
image: 'docker://ghcr.io/afterlife-guide/semver.action:1.2.0.13'
37+
image: 'docker://ghcr.io/afterlife-guide/semver.action:1.2.1.19'
3838
args:
3939
- ${{ (inputs.major-version == '0' && inputs.minor-version == '0' && inputs.patch-version == '0' && inputs.build-version == '0') && 'read' || 'write' }}
4040
- '-p'

semver.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"major":"1","minor":"2","patch":"0","build":"13"}
1+
{"major":"1","minor":"2","patch":"1","build":"19"}

src/SemVer.Json/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ COPY . ./
77
RUN dotnet publish ./src/SemVer.Json/SemVer.Json.csproj -c Release -o out --no-self-contained
88

99
FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine
10-
RUN addgroup -S nonroot \
11-
&& adduser -S nonroot -G nonroot
1210
COPY --from=build-env /app/out .
13-
USER nonroot
1411
ENTRYPOINT [ "dotnet", "/SemVer.Json.dll" ]

0 commit comments

Comments
 (0)