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: |