Обновил CI/CD
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 7m46s
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 7m46s
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
||||
branches: ['main', 'staging']
|
||||
|
||||
env:
|
||||
CONTEXT: SfeduSchedule
|
||||
CONTEXT: ./
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
|
@@ -1,7 +1,9 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.22 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
COPY ./SfeduSchedule ./SfeduSchedule
|
||||
COPY ./SfeduSchedule.Plugin.Abstractions ./SfeduSchedule.Plugin.Abstractions
|
||||
WORKDIR /src/SfeduSchedule
|
||||
RUN dotnet restore "SfeduSchedule.csproj"
|
||||
RUN dotnet publish "SfeduSchedule.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||
|
Reference in New Issue
Block a user