2 Commits

Author SHA1 Message Date
pooria.sh a52d2c9fe9 ci6
Release Docker Image / build-and-push (release) Failing after 29s
Release NuGet Packages / pack-and-push (release) Has been cancelled
2026-05-20 15:13:14 +03:30
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
3 changed files with 14 additions and 3 deletions
Binary file not shown.
+7 -1
View File
@@ -16,9 +16,14 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: mcr-mirror.liara.ir/dotnet/sdk:10.0
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,6 +41,7 @@ jobs:
tag="${RELEASE_TAG:-$REF_NAME}"
tag="${tag#v}"
dotnet publish DevOpsTest.csproj \
-v:n \
--configuration Release \
--os linux \
--arch x64 \
+7 -2
View File
@@ -8,7 +8,7 @@ on:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
NUGET_SOURCE_URL: https://nuget.sabp.ir/v3/index.json
NUGET_SOURCE_URL: ${{ secrets.NUGET_API_URL }}/v3/index.json
PACKAGE_OUTPUT: ./artifacts/nuget
PACKAGE_PROJECTS: DevOpsPackageTest/DevOpsPackageTest.csproj
RELEASE_TAG: ${{ gitea.event.release.tag_name }}
@@ -19,9 +19,14 @@ jobs:
pack-and-push:
runs-on: ubuntu-latest
container:
image: mcr-mirror.liara.ir/dotnet/sdk:10.0
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: |