Skip to content

Commit 6bfd8ed

Browse files
committed
Upgrading to .NET 9
1 parent ceb9e53 commit 6bfd8ed

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/dotnet-core-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Build the tagged Docker image
4848
run: docker build . -t microtingas/outer-inner-resource-container:latest -t microtingas/outer-inner-resource-container:1.0.0 --build-arg GITVERSION=1.00 --build-arg PLUGINVERSION=1.0.0
4949
- run: docker save microtingas/outer-inner-resource-container:latest -o outer-inner-resource-container.tar
50-
- uses: actions/upload-artifact@v3
50+
- uses: actions/upload-artifact@v4
5151
with:
5252
name: outer-inner-resource-container
5353
path: outer-inner-resource-container.tar
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
docker pull rabbitmq:latest
7373
docker run -d --hostname my-rabbit --name some-rabbit --network data -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=password rabbitmq:latest
74-
- uses: actions/download-artifact@v3
74+
- uses: actions/download-artifact@v4
7575
with:
7676
name: outer-inner-resource-container
7777
- run: docker load -i outer-inner-resource-container.tar

.github/workflows/dotnet-core-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Build the tagged Docker image
4545
run: docker build . -t microtingas/outer-inner-resource-container:latest -t microtingas/outer-inner-resource-container:1.0.0 --build-arg GITVERSION=1.00 --build-arg PLUGINVERSION=1.0.0
4646
- run: docker save microtingas/outer-inner-resource-container:latest -o outer-inner-resource-container.tar
47-
- uses: actions/upload-artifact@v3
47+
- uses: actions/upload-artifact@v4
4848
with:
4949
name: outer-inner-resource-container
5050
path: outer-inner-resource-container.tar
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
docker pull mariadb:10.8
6363
docker run --name mariadbtest --network data -e MYSQL_ROOT_PASSWORD=secretpassword -p 3306:3306 -d mariadb:10.8
64-
- uses: actions/download-artifact@v3
64+
- uses: actions/download-artifact@v4
6565
with:
6666
name: outer-inner-resource-container
6767
- run: docker load -i outer-inner-resource-container.tar

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY eform-angular-frontend/eform-client ./
55
RUN yarn install
66
RUN npm run build
77

8-
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build-env
8+
FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build-env
99
WORKDIR /app
1010
ARG GITVERSION
1111
ARG PLUGINVERSION
@@ -17,7 +17,7 @@ RUN dotnet publish eFormAPI.Web -o eFormAPI.Web/out /p:Version=$GITVERSION --run
1717
RUN dotnet publish OuterInnerResource.Pn -o OuterInnerResource.Pn/out /p:Version=$PLUGINVERSION --runtime linux-x64 --configuration Release
1818

1919
# Build runtime image
20-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy
20+
FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble
2121
WORKDIR /app
2222
COPY --from=build-env /app/eFormAPI.Web/out .
2323
RUN mkdir -p ./Plugins/OuterInnerResource.Pn

0 commit comments

Comments
 (0)