googlecodelabs / feedback

Provide feedback to our codelabs by filing an issue here
18 stars 22 forks source link

[cloud-run-django]: codelab Django on Cloud Run, Part 7, step 4: no build possible #1432

Open DoctorMG opened 1 week ago

DoctorMG commented 1 week ago

When I execute the command as in the codelab tutorial ... gcloud builds submit --pack image=${ARTIFACT_REGISTRY}/myimage

... I get build failures: On the very end the output is BUILD FAILURE: Build step failure: build step 1 "gcr.io/k8s-skaffold/pack" failed: step exited with non-zero status: 1 Above I get ERROR: build step 1 "gcr.io/k8s-skaffold/pack" failed: step exited with non-zero status: 1

In the log at step #1 there is more: Starting Step #1 Step #1: Already have image (with digest): gcr.io/k8s-skaffold/pack Step #1: Error: accepts 1 arg(s), received 0

It seems the call in the tutorial is missing some argument or any property needs to be configured.

I am stuck here - cannot continue with the Django Codelab :-( Some idea would be great.

glasnt commented 1 week ago

Can you provide any more information around the "accepts 1 arg(s), received 0" error?

You should also check you have created the Procfile, and set the ARTIFACT_REGISTRY environment variable.