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