bu gfixe
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nutchayut
2024-05-31 00:48:40 +07:00
parent 4f022f2699
commit fb772e48db
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
FROM registry.71dev.com/dotnetsdk:8.0 as build-env FROM registry.71dev.com/dotnetsdk:8.0 as build-env
WORKDIR /source WORKDIR /source
COPY . . COPY . .
RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish
RUN dotnet build #RUN dotnet build
RUN dotnet publish -o /publish --configuration Release ; #RUN dotnet publish -o /publish --configuration Release ;
# Publish Stage # Publish Stage
FROM registry.71dev.com/dotnetaspnet:8.0 FROM registry.71dev.com/dotnetaspnet:8.0
WORKDIR /app WORKDIR /app

View File

@@ -15,7 +15,7 @@ steps:
image: plugins/docker image: plugins/docker
pull: if-not-exists pull: if-not-exists
settings: settings:
dockerfile: /OCPP.Core.Server/Dockerfile dockerfile: OCPP.Core.Server/Dockerfile
repo: registry.71dev.com/nutchayut/OCPP.Core repo: registry.71dev.com/nutchayut/OCPP.Core
tags: latest tags: latest
registry: "registry.71dev.com" registry: "registry.71dev.com"