Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DoctorMG opened this issue Sep 16, 2024 · 1 comment

Comments

@DoctorMG
Copy link

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
Copy link

glasnt commented Sep 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants