Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf38bfc462 | ||
|
|
c42ef399e7 | ||
|
|
3620b8a2b5 | ||
|
|
2c83515bcf | ||
|
|
727a7b4b50 | ||
|
|
ce0d6b6871 | ||
|
|
ad693102da |
+2
-2
@@ -6,7 +6,7 @@ steps:
|
||||
- name: docker-build-and-push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: git.internet-master.cz/jakub/dotnettest
|
||||
repo: git.internet-master.cz/petr.vejchoda/dotnettest
|
||||
tags: latest
|
||||
registry: git.internet-master.cz
|
||||
dockerfile: Dockerfile
|
||||
@@ -18,7 +18,7 @@ steps:
|
||||
- name: call-portainer-webhook
|
||||
image: curlimages/curl
|
||||
commands:
|
||||
- curl -X POST http://192.168.52.21:9000/api/webhooks/18e7c408-4e70-4ad3-8fe8-de6a3b577894
|
||||
- curl -X POST http://192.168.52.21:9000/api/webhooks/699d5326-607e-4db8-9d6c-71ef7093152d
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
||||
+11
-6
@@ -1,16 +1,21 @@
|
||||
#test
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
|
||||
WORKDIR /repo
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ls -l /repo
|
||||
RUN ls -l /repo/MyBlazorApp
|
||||
|
||||
WORKDIR /repo/MyBlazorApp
|
||||
RUN dotnet publish MyBlazorApp.csproj \
|
||||
-c Release -o /app/publish --no-self-contained
|
||||
|
||||
RUN dotnet publish MyBlazorApp.csproj -c Release -o /app/publish
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS runtime
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
ENV ASPNETCORE_HTTP_PORTS=8080
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["dotnet", "MyBlazorApp.dll"]
|
||||
@@ -1,3 +1,6 @@
|
||||
@page "/"
|
||||
|
||||
<h1>Hello, Blazor world! This is triggered by the new runner</h1>
|
||||
<h1>Hello, world!</h1>
|
||||
Welcome to your new Blazor app. new trigger.
|
||||
This should be visible
|
||||
just trying to rebuild the project
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
@page "/"
|
||||
|
||||
<h1>Hello, world!</h1>
|
||||
Welcome to your new Blazor app. Testing new runner
|
||||
Welcome to your new Blazor app. new trigger.
|
||||
This should be visible
|
||||
|
||||
Reference in New Issue
Block a user