Compare commits

..

2 Commits

Author SHA1 Message Date
Simon Diesenreiter
7dabcb71f8 release: version 0.1.19 🚀
Some checks failed
CI / tests_linux (9.0.X, ubuntu-latest) (push) Has been cancelled
CI / linter (9.0.X, ubuntu-latest) (push) Has been cancelled
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
Build Docker image / Create Release (push) Successful in 19s
Build Docker image / deploy (push) Failing after 1m56s
2025-04-15 15:18:40 +02:00
Simon Diesenreiter
001711487c fix: improve Docker build refs NOISSUE 2025-04-15 15:18:37 +02:00
4 changed files with 15 additions and 4 deletions

View File

@ -61,5 +61,5 @@ jobs:
run: | run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]') REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_') REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
docker build -t "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" ./song_of_the_day docker build -t "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" ./
docker push "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)" docker push "git.disi.dev/$REPOSITORY_OWNER/song-of-the-day:$(cat $REPOSITORY_NAME/VERSION)"

View File

@ -4,9 +4,9 @@ WORKDIR /App
# Copy everything # Copy everything
COPY . ./ COPY . ./
# Restore as distinct layers # Restore as distinct layers
RUN dotnet restore RUN dotnet restore --project ./song_of_the_day/song_of_the_day.csproj
# Build and publish a release # Build and publish a release
RUN dotnet publish -o out RUN dotnet publish --project ./song_of_the_day/song_of_the_day.csproj -o out
# Build runtime image # Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:9.0 FROM mcr.microsoft.com/dotnet/aspnet:9.0

View File

@ -5,11 +5,22 @@ Changelog
(unreleased) (unreleased)
------------ ------------
Fix
~~~
- Improve Docker build refs NOISSUE. [Simon Diesenreiter]
0.1.18 (2025-04-15)
-------------------
Fix Fix
~~~ ~~~
- Remove broken Crontimer NuGet feed reference refs NOISSUE. [Simon - Remove broken Crontimer NuGet feed reference refs NOISSUE. [Simon
Diesenreiter] Diesenreiter]
Other
~~~~~
0.1.17 (2025-04-15) 0.1.17 (2025-04-15)
------------------- -------------------

View File

@ -1 +1 @@
0.1.18 0.1.19