4 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
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
pooria.sh 97d20d3c8a ci2
Release Docker Image / build-and-push (release) Has been cancelled
Release NuGet Packages / pack-and-push (release) Has been cancelled
2026-05-20 14:27:46 +03:30
3 changed files with 16 additions and 3 deletions
Binary file not shown.
+8 -1
View File
@@ -10,14 +10,20 @@ env:
IMAGE_NAME: sabp-apps/devops-test
RELEASE_TAG: ${{ gitea.event.release.tag_name }}
REF_NAME: ${{ gitea.ref_name }}
REPOSITORY: ${{ gitea.repository }}
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: mcr-mirror.liara.ir/dotnet/sdk:9.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:
@@ -35,6 +41,7 @@ jobs:
tag="${RELEASE_TAG:-$REF_NAME}"
tag="${tag#v}"
dotnet publish DevOpsTest.csproj \
-v:n \
--configuration Release \
--os linux \
--arch x64 \
+8 -2
View File
@@ -8,19 +8,25 @@ 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 }}
REF_NAME: ${{ gitea.ref_name }}
REPOSITORY: ${{ gitea.repository }}
jobs:
pack-and-push:
runs-on: ubuntu-latest
container:
image: mcr-mirror.liara.ir/dotnet/sdk:9.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: |