2 Commits

Author SHA1 Message Date
pooria.sh 32bce2cdd2 ci5
Release NuGet Packages / pack-and-push (release) Successful in 2m54s
Release Docker Image / build-and-push (release) Failing after 1m18s
2026-05-20 14:41:47 +03:30
pooria.sh 490ed3815f ci4
Release NuGet Packages / pack-and-push (release) Failing after 3s
Release Docker Image / build-and-push (release) Has been cancelled
2026-05-20 14:35:27 +03:30
3 changed files with 14 additions and 3 deletions
+7 -1
View File
@@ -19,6 +19,11 @@ jobs:
image: mcr-mirror.liara.ir/dotnet/sdk:10.0.202
steps:
- name: Checkout
shell: bash
run: |
git clone --depth 1 https://git.sabp.ir/sufi-chain/dev-ops-test.git .
- name: Build and push image
shell: bash
env:
@@ -36,11 +41,12 @@ jobs:
tag="${RELEASE_TAG:-$REF_NAME}"
tag="${tag#v}"
dotnet publish DevOpsTest.csproj \
-v:n \
--configuration Release \
--os linux \
--arch x64 \
/t:PublishContainer \
-p:ContainerRegistry="$REGISTRY" \
-p:ContainerRepository="$IMAGE_NAME" \
-p:ContainerBaseImage=mcr-mirror.liara.ir/dotnet/aspnet:10.0.202 \
-p:ContainerBaseImage=mcr-mirror.liara.ir/dotnet/aspnet:10.0 \
-p:ContainerImageTags="$tag;latest"
+5
View File
@@ -22,6 +22,11 @@ jobs:
image: mcr-mirror.liara.ir/dotnet/sdk:10.0.202
steps:
- name: Checkout
shell: bash
run: |
git clone --depth 1 https://git.sabp.ir/sufi-chain/dev-ops-test.git .
- name: Restore selected projects
shell: bash
run: |
+2 -2
View File
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM mcr-mirror.liara.ir/dotnet/sdk:10.0.202 AS build
FROM mcr-mirror.liara.ir/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY DevOpsTest.csproj ./
@@ -13,7 +13,7 @@ RUN dotnet publish DevOpsTest.csproj \
--output /app/publish \
/p:UseAppHost=false
FROM mcr-mirror.liara.ir/dotnet/aspnet:10.0.202 AS final
FROM mcr-mirror.liara.ir/dotnet/aspnet:10.0 AS final
WORKDIR /app
ENV ASPNETCORE_URLS=http://+:8080 \