Stworzyłem nastęujący pipeline i dockerfile. Podczas uruchamiania pipeline mam jednak błąd. Jak to naprawić?

/// YML

trigger:
  paths:
    include:
      - src-others/PosnetAPI/**
      - src-others/PosnetAPI.Test/**
      - azure/docker/fiscal-printer-api/**

pr:
  paths:
    include:
      - src-others/PosnetAPI/**
      - src-others/PosnetAPI.Test/**
      - azure/docker/fiscal-printer-api/**

variables:
  buildConfiguration: 'Release'
  shouldPublishBuild: 'true'
  shouldPublishDocker: 'true'

stages:
  - stage: Build
    displayName: Build Stage
    jobs:
      - job: Build
        displayName: Build FiscalPrinterApi
        steps:
          - checkout: self
            lfs: false
            fetchDepth: 1
            fetchTags: false

          - task: UseDotNet@2
            inputs:
              packageType: 'sdk'
              version: '6.x'
              installationPath: $(Agent.ToolsDirectory)/dotnet

          - task: DotNetCoreCLI@2
            displayName: 'Restore Dependencies'
            inputs:
              command: 'restore'
              projects: |
                src-others/PosnetAPI/FiscalPrinterApi.csproj
                src-others/PosnetAPI.Test/PosnetAPI.Test.csproj

          - task: DotNetCoreCLI@2
            displayName: 'Build FiscalPrinterApi'
            inputs:
              command: 'build'
              projects: 'src-others/PosnetAPI/FiscalPrinterApi.csproj'
              arguments: '--configuration $(buildConfiguration) /clp:ErrorsOnly'

          - task: DotNetCoreCLI@2
            displayName: 'Publish FiscalPrinterApi'
            inputs:
              command: 'publish'
              projects: 'src-others/PosnetAPI/FiscalPrinterApi.csproj'
              arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)/FiscalPrinterApi --property WarningLevel=1 /clp:ErrorsOnly'

          - publish: $(Build.ArtifactStagingDirectory)/FiscalPrinterApi
            artifact: FiscalPrinterApi

  - stage: Test
    displayName: Test Stage
    dependsOn: Build
    jobs:
      - job: Test
        displayName: Test PosnetAPI.Test
        steps:
          - checkout: self

          - task: UseDotNet@2
            inputs:
              packageType: 'sdk'
              version: '6.x'
              installationPath: $(Agent.ToolsDirectory)/dotnet

          - task: DotNetCoreCLI@2
            displayName: 'Restore Test Dependencies'
            inputs:
              command: 'restore'
              projects: 'src-others/PosnetAPI.Test/PosnetAPI.Test.csproj'

          - task: DotNetCoreCLI@2
            displayName: 'Run Tests'
            inputs:
              command: 'test'
              projects: 'src-others/PosnetAPI.Test/PosnetAPI.Test.csproj'
              arguments: '--configuration $(buildConfiguration) --logger "console;verbosity=detailed" /clp:ErrorsOnly'

          - task: PublishTestResults@2
            displayName: 'Publish Test Results'
            inputs:
              testResultsFormat: 'JUnit'
              testResultsFiles: '**/TEST-*.xml'
              failTaskOnFailedTests: true

  - stage: Publish
    displayName: Publish Stage
    dependsOn: Test
    jobs:
      - job: PublishDocker
        displayName: Build and Push Docker Image
        steps:
          - checkout: self

          - task: Docker@2
            displayName: 'Build and push an image to container registry'
            inputs:
              command: buildAndPush
              containerRegistry: "d9c165d7-11b1-48eb-892b-9704cc3af295"
              repository: "fiscal-printer-api"
              Dockerfile: "azure/docker/fiscal-printer-api/dockerfile"
              buildContext: "$(Build.SourcesDirectory)"
              tags: |
                $(Build.BuildId)
                $(Build.SourceBranchName)
            condition: and(succeeded(), eq(variables['shouldPublishBuild'], 'true'), eq(variables['shouldPublishDocker'], 'true'))

          - script: |
              echo "##vso[build.addbuildtag]$(Build.BuildId)"
              echo "##vso[build.addbuildtag]$(Build.SourceBranchName)"
            displayName: 'Add Build Tags'
            condition: succeeded()

/// dockerfile

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src

COPY src-others/PosnetAPI/FiscalPrinterApi.csproj src-others/PosnetAPI/
COPY src-others/PosnetAPI.Test/PosnetAPI.Test.csproj src-others/PosnetAPI.Test/
RUN dotnet restore src-others/PosnetAPI/FiscalPrinterApi.csproj

COPY src-others/PosnetAPI/ src-others/PosnetAPI/
RUN dotnet publish src-others/PosnetAPI/FiscalPrinterApi.csproj -c Release -o /app/publish

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
WORKDIR /app

COPY --from=build /app/publish .

ENTRYPOINT ["dotnet", "FiscalPrinterApi.dll"]

/// BŁĄD



##[error]#0 building with "default" instance using docker driver
##[error]#1 [internal] load build definition from dockerfile
##[error]#1 transferring dockerfile: 603B done
##[error]#1 DONE 0.0s
##[error]#2 [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0
##[error]#2 DONE 0.0s
##[error]#3 [internal] load metadata for mcr.microsoft.com/dotnet/sdk:6.0
##[error]#3 DONE 0.2s
##[error]#4 [internal] load .dockerignore
##[error]#4 transferring context: 2B done
##[error]#4 DONE 0.0s
##[error]#5 [runtime 1/3] FROM mcr.microsoft.com/dotnet/aspnet:6.0
##[error]#5 DONE 0.0s
##[error]#6 [internal] load build context
##[error]#6 transferring context: 2B done
##[error]#6 DONE 0.0s
##[error]#7 [build 2/7] WORKDIR /src
##[error]#7 CACHED
##[error]#8 [build 3/7] COPY src-others/PosnetAPI/FiscalPrinterApi.csproj src-others/PosnetAPI/
##[error]#8 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount2943009022/src-others/PosnetAPI: lstat /var/lib/docker/tmp/buildkit-mount2943009022/src-others/PosnetAPI: no such file or directory
##[error]#9 [build 5/7] RUN dotnet restore src-others/PosnetAPI/FiscalPrinterApi.csproj
##[error]#9 CACHED
##[error]#10 [build 6/7] COPY src-others/PosnetAPI/ src-others/PosnetAPI/
##[error]#10 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount4172841046/src-others: lstat /var/lib/docker/tmp/buildkit-mount4172841046/src-others: no such file or directory
##[error]#11 [build 4/7] COPY src-others/PosnetAPI.Test/PosnetAPI.Test.csproj src-others/PosnetAPI.Test/
##[error]#11 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount860643129/src-others/PosnetAPI.Test: lstat /var/lib/docker/tmp/buildkit-mount860643129/src-others/PosnetAPI.Test: no such file or directory
##[error]#12 [runtime 2/3] WORKDIR /app
##[error]#12 DONE 0.0s
##[error]#13 [build 1/7] FROM mcr.microsoft.com/dotnet/sdk:6.0@sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1
##[error]#13 resolve mcr.microsoft.com/dotnet/sdk:6.0@sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1 done
##[error]#13 sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1 1.79kB / 1.79kB done
##[error]#13 sha256:78687197a100de3422a70d40d024aab979adf2ecb43c29dbb3411d0630c0d6d0 5.29kB / 5.29kB done
##[error]#13 sha256:b750e86eb861f02b2ba4a6951e20ff5e49b280abffcaea7535ac82cee0240d7a 2.01kB / 2.01kB done
##[error]#13 CANCELED
##[error]------
##[error] > [build 3/7] COPY src-others/PosnetAPI/FiscalPrinterApi.csproj src-others/PosnetAPI/:
##[error]------
##[error]------
##[error] > [build 4/7] COPY src-others/PosnetAPI.Test/PosnetAPI.Test.csproj src-others/PosnetAPI.Test/:
##[error]------
##[error]------
##[error] > [build 6/7] COPY src-others/PosnetAPI/ src-others/PosnetAPI/:
##[error]------
##[error]dockerfile:8
##[error]--------------------
##[error]   6 |     RUN dotnet restore src-others/PosnetAPI/FiscalPrinterApi.csproj
##[error]   7 |     
##[error]   8 | >>> COPY src-others/PosnetAPI/ src-others/PosnetAPI/
##[error]   9 |     RUN dotnet publish src-others/PosnetAPI/FiscalPrinterApi.csproj -c Release -o /app/publish
##[error]  10 |     
##[error]--------------------
##[error]ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount4172841046/src-others: lstat /var/lib/docker/tmp/buildkit-mount4172841046/src-others: no such file or directory
##[error]The process '/usr/bin/docker' failed with exit code 1


##[error]#0 building with "default" instance using docker driver
##[error]#1 [internal] load build definition from dockerfile
##[error]#1 transferring dockerfile: 603B done
##[error]#1 DONE 0.0s
##[error]#2 [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0
##[error]#2 DONE 0.0s
##[error]#3 [internal] load metadata for mcr.microsoft.com/dotnet/sdk:6.0
##[error]#3 DONE 0.2s
##[error]#4 [internal] load .dockerignore
##[error]#4 transferring context: 2B done
##[error]#4 DONE 0.0s
##[error]#5 [runtime 1/3] FROM mcr.microsoft.com/dotnet/aspnet:6.0
##[error]#5 DONE 0.0s
##[error]#6 [internal] load build context
##[error]#6 transferring context: 2B done
##[error]#6 DONE 0.0s
##[error]#7 [build 2/7] WORKDIR /src
##[error]#7 CACHED
##[error]#8 [build 3/7] COPY src-others/PosnetAPI/FiscalPrinterApi.csproj src-others/PosnetAPI/
##[error]#8 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount2943009022/src-others/PosnetAPI: lstat /var/lib/docker/tmp/buildkit-mount2943009022/src-others/PosnetAPI: no such file or directory
##[error]#9 [build 5/7] RUN dotnet restore src-others/PosnetAPI/FiscalPrinterApi.csproj
##[error]#9 CACHED
##[error]#10 [build 6/7] COPY src-others/PosnetAPI/ src-others/PosnetAPI/
##[error]#10 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount4172841046/src-others: lstat /var/lib/docker/tmp/buildkit-mount4172841046/src-others: no such file or directory
##[error]#11 [build 4/7] COPY src-others/PosnetAPI.Test/PosnetAPI.Test.csproj src-others/PosnetAPI.Test/
##[error]#11 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount860643129/src-others/PosnetAPI.Test: lstat /var/lib/docker/tmp/buildkit-mount860643129/src-others/PosnetAPI.Test: no such file or directory
##[error]#12 [runtime 2/3] WORKDIR /app
##[error]#12 DONE 0.0s
##[error]#13 [build 1/7] FROM mcr.microsoft.com/dotnet/sdk:6.0@sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1
##[error]#13 resolve mcr.microsoft.com/dotnet/sdk:6.0@sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1 done
##[error]#13 sha256:3e7491422fb3a14f0bfe98fcb58afc1d477ee6ee4aac8dff8557332140ac9cf1 1.79kB / 1.79kB done
##[error]#13 sha256:78687197a100de3422a70d40d024aab979adf2ecb43c29dbb3411d0630c0d6d0 5.29kB / 5.29kB done
##[error]#13 sha256:b750e86eb861f02b2ba4a6951e20ff5e49b280abffcaea7535ac82cee0240d7a 2.01kB / 2.01kB done
##[error]#13 CANCELED
##[error]------
##[error] > [build 3/7] COPY src-others/PosnetAPI/FiscalPrinterApi.csproj src-others/PosnetAPI/:
##[error]------
##[error]------
##[error] > [build 4/7] COPY src-others/PosnetAPI.Test/PosnetAPI.Test.csproj src-others/PosnetAPI.Test/:
##[error]------
##[error]------
##[error] > [build 6/7] COPY src-others/PosnetAPI/ src-others/PosnetAPI/:
##[error]------
##[error]dockerfile:8
##[error]--------------------
##[error]   6 |     RUN dotnet restore src-others/PosnetAPI/FiscalPrinterApi.csproj
##[error]   7 |     
##[error]   8 | >>> COPY src-others/PosnetAPI/ src-others/PosnetAPI/
##[error]   9 |     RUN dotnet publish src-others/PosnetAPI/FiscalPrinterApi.csproj -c Release -o /app/publish
##[error]  10 |     
##[error]--------------------
##[error]ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::nvjb5yklxmxsyyukr5fgvarcg: failed to walk /var/lib/docker/tmp/buildkit-mount4172841046/src-others: lstat /var/lib/docker/tmp/buildkit-mount4172841046/src-others: no such file or directory
##[error]The process '/usr/bin/docker' failed with exit code 1