Compare commits
8 Commits
2c2a58975e
...
0.1.20
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8417003ea7 | ||
![]() |
8412cc13df | ||
![]() |
7dabcb71f8 | ||
![]() |
001711487c | ||
![]() |
bf4bcebfb8 | ||
![]() |
0561eb757c | ||
![]() |
5510832538 | ||
![]() |
604e8dfe70 |
@@ -38,10 +38,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up dotnet
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.0.X'
|
||||
- name: Check version match
|
||||
run: |
|
||||
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
|
||||
@@ -57,16 +53,9 @@ jobs:
|
||||
username: gitearobot
|
||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||
registry: git.disi.dev
|
||||
- name: Login to HomeLab NuGet feed
|
||||
uses: sersoft-gmbh/dotnet-nuget-login-action@v1
|
||||
with:
|
||||
registry-url: 'https://git.disi.dev/api/packages/HomeLab/nuget/index.json'
|
||||
registry-name: HomeLab
|
||||
username: gitearobot
|
||||
password: ${{ secrets.PACKAGE_GITEA_PAT }}
|
||||
- name: Build and publish
|
||||
run: |
|
||||
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||
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)"
|
||||
|
@@ -4,9 +4,9 @@ WORKDIR /App
|
||||
# Copy everything
|
||||
COPY . ./
|
||||
# Restore as distinct layers
|
||||
RUN dotnet restore
|
||||
RUN dotnet restore ./song_of_the_day/song_of_the_day.csproj
|
||||
# Build and publish a release
|
||||
RUN dotnet publish -o out
|
||||
RUN dotnet publish ./song_of_the_day/song_of_the_day.csproj -o out
|
||||
|
||||
# Build runtime image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
46
HISTORY.md
46
HISTORY.md
@@ -5,10 +5,56 @@ Changelog
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Remove unnecessary dotnet runtime download in CI job refs NOISSUE.
|
||||
[Simon Diesenreiter]
|
||||
|
||||
|
||||
0.1.19 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Improve Docker build refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.18 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Remove broken Crontimer NuGet feed reference refs NOISSUE. [Simon
|
||||
Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.17 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Remove uinnecessary NuGet login refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.16 (2025-04-15)
|
||||
-------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Add direct CronTimer reference refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.1.15 (2025-04-15)
|
||||
-------------------
|
||||
|
@@ -1 +1 @@
|
||||
0.1.16
|
||||
0.1.20
|
||||
|
@@ -16,7 +16,6 @@
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
|
||||
<PackageReference Include="Scalar.AspNetCore" Version="2.1.*" />
|
||||
<PackageReference Include="CronTimer" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<OpenApiReference Include="swagger.json" SourceUrl="https://bbernhard.github.io/signal-cli-rest-api/src/docs/swagger.json" />
|
||||
|
Reference in New Issue
Block a user