From 187b6163c9ed7c705bf30602a8ec147a9b570d09 Mon Sep 17 00:00:00 2001 From: Pooria Shariatzadeh Date: Wed, 20 May 2026 13:19:57 +0330 Subject: [PATCH] update ci --- .gitea/workflows/release-docker.yml | 9 +++++++++ .gitea/workflows/release-nuget.yml | 7 ++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release-docker.yml b/.gitea/workflows/release-docker.yml index fc6101d..bbaa298 100644 --- a/.gitea/workflows/release-docker.yml +++ b/.gitea/workflows/release-docker.yml @@ -14,11 +14,20 @@ env: jobs: build-and-push: runs-on: ubuntu-latest + container: + image: mcr-mirror.liara.ir/dotnet/sdk:10.0 steps: - name: Checkout uses: actions/checkout@v4 + - name: Install Docker CLI + shell: bash + run: | + set -euo pipefail + apt-get update + apt-get install -y docker.io + - name: Login to Harbor shell: bash env: diff --git a/.gitea/workflows/release-nuget.yml b/.gitea/workflows/release-nuget.yml index f3c109d..e910b95 100644 --- a/.gitea/workflows/release-nuget.yml +++ b/.gitea/workflows/release-nuget.yml @@ -17,16 +17,13 @@ env: jobs: pack-and-push: runs-on: ubuntu-latest + container: + image: mcr-mirror.liara.ir/dotnet/sdk:10.0 steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.0.x - - name: Restore selected projects shell: bash run: |