This commit is contained in:
1 parent
925bd5f4a5
commit
066f817a16
2 files changed
+2
-1
No files matched your search
@@ -32,6 +32,7 @@ jobs:
|
|||||||
- name: Build docker image and push
|
- name: Build docker image and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: acme_nrop/dotnet-deploy-k8s:${{ gitea.sha }}
|
tags: acme_nrop/dotnet-deploy-k8s:${{ gitea.sha }}
|
||||||
+1
-1
@@ -1,9 +1,9 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN ls -l && ls -l dst
|
RUN ls -l && ls -l dst
|
||||||
COPY dst/* .
|
COPY dst/* .
|
||||||
|
WORKDIR /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "dotnet-deploy-k8s.dll"]
|
ENTRYPOINT ["dotnet", "dotnet-deploy-k8s.dll"]
|
||||||
Reference in new issue
Block a user