0
user9.abpio created
business plan kullanıcısıyım. GHCR kullanıyorum docker build esnasında hata alıyorum. tahminimce nuget paketlerinize erişim sağlayamıyor. erişim sağlayabilmek için kullanıcı adı/şifre yada access token mı kullanmalıyım?
Run docker/build-push-action@v6
GitHub Actions runtime token ACs
Docker info
Proxy configuration
Buildx version
Builder info
/usr/bin/docker buildx build --build-arg ABP_NUGET_USERNAME= --build-arg ABP_NUGET_PASSWORD= --build-arg # Kullanıyorsan ekle; gerekmiyorsa bırakabilirsin: --build-arg # NUGET_AUTH_TOKEN=*** --cache-from type=gha --cache-to type=gha,mode=max --file ./Dockerfile --iidfile /home/runner/work/_temp/docker-actions-toolkit-ep7hoy/build-iidfile-92854429ad.txt --attest type=provenance,mode=min,inline-only=true,builder-id=https://github.com/StudyZoneInt/prodigy-enabler-backend/actions/runs/17730654449/attempts/1 --tag ghcr.io/farukatasoy/prodigy-enabler-backend:test --tag ghcr.io/farukatasoy/prodigy-enabler-backend:sha-92d8612a23bb40ff651e7affd032a6578472df91 --metadata-file /home/runner/work/_temp/docker-actions-toolkit-ep7hoy/build-metadata-ee456b332b.json --push .
#0 building with "builder-e3b3c909-f836-48ac-8741-3db45e5ee8b3" instance using docker-container driver
[#1](https://abp.io/QA/Questions/1) [internal] load build definition from Dockerfile
[#1](https://abp.io/QA/Questions/1) transferring dockerfile: 1.23kB done
[#1](https://abp.io/QA/Questions/1) DONE 0.0s
[#2](https://abp.io/QA/Questions/2) [internal] load metadata for mcr.microsoft.com/dotnet/sdk:9.0
[#2](https://abp.io/QA/Questions/2) ...
[#3](https://abp.io/QA/Questions/3) [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:9.0
[#3](https://abp.io/QA/Questions/3) DONE 0.2s
[#2](https://abp.io/QA/Questions/2) [internal] load metadata for mcr.microsoft.com/dotnet/sdk:9.0
[#2](https://abp.io/QA/Questions/2) DONE 0.2s
[#4](https://abp.io/QA/Questions/4) [internal] load .dockerignore
[#4](https://abp.io/QA/Questions/4) transferring context: 153B done
[#4](https://abp.io/QA/Questions/4) DONE 0.0s
[#5](https://abp.io/QA/Questions/5) [internal] load build context
[#5](https://abp.io/QA/Questions/5) DONE 0.0s
[#6](https://abp.io/QA/Questions/6) [stage-1 1/4] FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f
[#6](https://abp.io/QA/Questions/6) resolve mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f done
[#6](https://abp.io/QA/Questions/6) DONE 0.0s
[#7](https://abp.io/QA/Questions/7) [build 1/5] FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162
[#7](https://abp.io/QA/Questions/7) resolve mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162 done
[#7](https://abp.io/QA/Questions/7) DONE 0.0s
[#8](https://abp.io/QA/Questions/8) importing cache manifest from gha:9019362110821611361
[#8](https://abp.io/QA/Questions/8) DONE 0.4s
[#5](https://abp.io/QA/Questions/5) [internal] load build context
[#5](https://abp.io/QA/Questions/5) transferring context: 572.25kB 0.1s done
[#5](https://abp.io/QA/Questions/5) DONE 0.1s
[#6](https://abp.io/QA/Questions/6) [stage-1 1/4] FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f
[#6](https://abp.io/QA/Questions/6) sha256:8ca4661ed074dd6d40a2603e9d21777aea3b10966bc249c291fd712420337e19 153B / 153B 0.0s done
[#6](https://abp.io/QA/Questions/6) sha256:91a6bef50bc6ccd9095480fcbb898743d5fbabbcbc5568dbbdc11a8282c0a362 3.27kB / 3.27kB 0.1s done
[#6](https://abp.io/QA/Questions/6) sha256:6f66cd2c16a7fe7a97047727641269c68fe8081bcb76d187c9aeffd478d90ca9 11.31MB / 11.31MB 0.1s done
[#6](https://abp.io/QA/Questions/6) sha256:de22e94f894b2d1c308ff6c2c71f7d751732975e4a656ee82504ac78a685021b 0B / 34.55MB 0.2s
[#6](https://abp.io/QA/Questions/6) sha256:4a24a047508cd8c1cd60f1e9bd7b2964f321965354da50d914e25bc8408a8a5b 18.74MB / 18.74MB 0.1s done
[#6](https://abp.io/QA/Questions/6) sha256:de22e94f894b2d1c308ff6c2c71f7d751732975e4a656ee82504ac78a685021b 26.35MB / 34.55MB 0.3s
[#6](https://abp.io/QA/Questions/6) sha256:d107e437f7299a0db6425d4e37f44fa779f7917ecc8daf1e87128ee91b9ed3d3 28.23MB / 28.23MB 0.2s done
[#6](https://abp.io/QA/Questions/6) extracting sha256:d107e437f7299a0db6425d4e37f44fa779f7917ecc8daf1e87128ee91b9ed3d3
[#6](https://abp.io/QA/Questions/6) sha256:de22e94f894b2d1c308ff6c2c71f7d751732975e4a656ee82504ac78a685021b 34.55MB / 34.55MB 0.4s done
[#6](https://abp.io/QA/Questions/6) extracting sha256:d107e437f7299a0db6425d4e37f44fa779f7917ecc8daf1e87128ee91b9ed3d3 1.4s done
[#6](https://abp.io/QA/Questions/6) DONE 1.7s
[#7](https://abp.io/QA/Questions/7) [build 1/5] FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162
[#7](https://abp.io/QA/Questions/7) sha256:70a8d67e460e0ae84947f69da3a8bf7c76b6188cfd42e320f9b7ee1f48cf363b 17.43MB / 17.43MB 0.2s done
[#7](https://abp.io/QA/Questions/7) sha256:ea29a56e41db5a2c347078eb7a82b88dcc85b4123adff96b87ae10522827000d 2.66kB / 2.66kB 0.1s done
[#7](https://abp.io/QA/Questions/7) sha256:68aa7387efe8b6e231f9b4aa0a14d686047dad98f897d5fdb9f7f0d787c27f94 176.30MB / 176.30MB 1.3s done
[#7](https://abp.io/QA/Questions/7) sha256:42a538ee5b890a616ca1e1ad382dbe649c8d510bfc991abf283d64f178467cca 30.89MB / 30.89MB 0.3s done
[#7](https://abp.io/QA/Questions/7) DONE 1.6s
[#6](https://abp.io/QA/Questions/6) [stage-1 1/4] FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f
[#6](https://abp.io/QA/Questions/6) extracting sha256:4a24a047508cd8c1cd60f1e9bd7b2964f321965354da50d914e25bc8408a8a5b
[#6](https://abp.io/QA/Questions/6) extracting sha256:4a24a047508cd8c1cd60f1e9bd7b2964f321965354da50d914e25bc8408a8a5b 0.3s done
[#6](https://abp.io/QA/Questions/6) DONE 2.0s
[#6](https://abp.io/QA/Questions/6) [stage-1 1/4] FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f
[#6](https://abp.io/QA/Questions/6) extracting sha256:91a6bef50bc6ccd9095480fcbb898743d5fbabbcbc5568dbbdc11a8282c0a362 done
[#6](https://abp.io/QA/Questions/6) extracting sha256:de22e94f894b2d1c308ff6c2c71f7d751732975e4a656ee82504ac78a685021b
[#6](https://abp.io/QA/Questions/6) extracting sha256:de22e94f894b2d1c308ff6c2c71f7d751732975e4a656ee82504ac78a685021b 0.4s done
[#6](https://abp.io/QA/Questions/6) DONE 2.4s
[#6](https://abp.io/QA/Questions/6) [stage-1 1/4] FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:1af4114db9ba87542a3f23dbb5cd9072cad7fcc8505f6e9131d1feb580286a6f
[#6](https://abp.io/QA/Questions/6) extracting sha256:8ca4661ed074dd6d40a2603e9d21777aea3b10966bc249c291fd712420337e19 done
[#6](https://abp.io/QA/Questions/6) extracting sha256:6f66cd2c16a7fe7a97047727641269c68fe8081bcb76d187c9aeffd478d90ca9
[#6](https://abp.io/QA/Questions/6) extracting sha256:6f66cd2c16a7fe7a97047727641269c68fe8081bcb76d187c9aeffd478d90ca9 0.2s done
[#6](https://abp.io/QA/Questions/6) DONE 2.5s
[#7](https://abp.io/QA/Questions/7) [build 1/5] FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162
[#7](https://abp.io/QA/Questions/7) extracting sha256:42a538ee5b890a616ca1e1ad382dbe649c8d510bfc991abf283d64f178467cca
[#7](https://abp.io/QA/Questions/7) extracting sha256:42a538ee5b890a616ca1e1ad382dbe649c8d510bfc991abf283d64f178467cca 0.9s done
[#7](https://abp.io/QA/Questions/7) DONE 2.5s
[#9](https://abp.io/QA/Questions/9) [stage-1 2/4] WORKDIR /app
[#9](https://abp.io/QA/Questions/9) DONE 0.9s
[#7](https://abp.io/QA/Questions/7) [build 1/5] FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162
[#7](https://abp.io/QA/Questions/7) extracting sha256:68aa7387efe8b6e231f9b4aa0a14d686047dad98f897d5fdb9f7f0d787c27f94
[#7](https://abp.io/QA/Questions/7) extracting sha256:68aa7387efe8b6e231f9b4aa0a14d686047dad98f897d5fdb9f7f0d787c27f94 3.1s done
[#7](https://abp.io/QA/Questions/7) DONE 5.6s
[#7](https://abp.io/QA/Questions/7) [build 1/5] FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:bb42ae2c058609d1746baf24fe6864ecab0686711dfca1f4b7a99e367ab17162
[#7](https://abp.io/QA/Questions/7) extracting sha256:ea29a56e41db5a2c347078eb7a82b88dcc85b4123adff96b87ae10522827000d done
[#7](https://abp.io/QA/Questions/7) extracting sha256:70a8d67e460e0ae84947f69da3a8bf7c76b6188cfd42e320f9b7ee1f48cf363b
[#7](https://abp.io/QA/Questions/7) extracting sha256:70a8d67e460e0ae84947f69da3a8bf7c76b6188cfd42e320f9b7ee1f48cf363b 0.3s done
[#7](https://abp.io/QA/Questions/7) DONE 5.9s
[#10](https://abp.io/QA/Questions/10) [build 2/5] WORKDIR /src
[#10](https://abp.io/QA/Questions/10) DONE 2.8s
[#11](https://abp.io/QA/Questions/11) [build 3/5] COPY . .
[#11](https://abp.io/QA/Questions/11) DONE 0.1s
[#12](https://abp.io/QA/Questions/12) [build 4/5] RUN dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal
[#12](https://abp.io/QA/Questions/12) 0.233 MSBUILD : error MSB1009: Project file does not exist.
[#12](https://abp.io/QA/Questions/12) 0.233 Switch: ./ProdigyEnabler/ProdigyEnabler.csproj
[#12](https://abp.io/QA/Questions/12) ERROR: process "/bin/sh -c dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal" did not complete successfully: exit code: 1
------
> [build 4/5] RUN dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal:
0.233 MSBUILD : error MSB1009: Project file does not exist.
0.233 Switch: ./ProdigyEnabler/ProdigyEnabler.csproj
------
4 warnings found (use docker --debug to expand):
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "ABP_NUGET_PASSWORD") (line 7)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "ABP_NUGET_PASSWORD") (line 9)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "NUGET_AUTH_TOKEN") (line 12)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "NUGET_AUTH_TOKEN") (line 13)
Dockerfile:19
--------------------
17 |
18 | # Ana projeyi restore + publish et
19 | >>> RUN dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal
20 | RUN dotnet publish ./ProdigyEnabler/ProdigyEnabler.csproj -c Release -o /app --no-restore
21 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal" did not complete successfully: exit code: 1
Reference
Check build summary support
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c dotnet restore ./ProdigyEnabler/ProdigyEnabler.csproj --nologo --verbosity minimal" did not complete successfully: exit code: 1
2 Answer(s)
-
0
- ABP'nin ticari NuGet paketlerine erişim için, NuGet kaynağınızı (https://nuget.abp.io/{ORGANIZATION_ID}/v3/index.json) kullanırken kullanıcı adı olarak e-posta adresinizi, şifre olarak ise ABP Commercial lisans portalından oluşturduğunuz access token'ı kullanmalısınız.
- Docker build sırasında bu bilgileri güvenli şekilde iletmelisiniz. ARG veya ENV ile şifre göndermek güvenli değildir, bunun yerine Docker build secret veya CI/CD ortam değişkenleri kullanmanız önerilir.
- Ayrıca, "Project file does not exist" hatası, NuGet erişiminden bağımsız olarak Docker context'inizde ilgili .csproj dosyasının bulunmadığını gösterir. Dosya yolunu ve Dockerfile COPY adımlarınızı kontrol edin.
Bu yaklaşım ABP Commercial NuGet erişim standartlarıyla uyumludur, ancak resmi dokümantasyonda Docker build için özel bir örnek bulunmamaktadır.
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
hi
Can you use English?
Thanks.