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

Python language specific guide - Add more steps for 'Configure CI/CD' #21212

Open
1 task done
anijjar opened this issue Oct 23, 2024 · 0 comments
Open
1 task done

Python language specific guide - Add more steps for 'Configure CI/CD' #21212

anijjar opened this issue Oct 23, 2024 · 0 comments

Comments

@anijjar
Copy link

anijjar commented Oct 23, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

Following the tutorial produces this output on Github Actions

2s
Run docker/build-push-action@v6
GitHub Actions runtime token ACs
Docker info
Proxy configuration
Buildx version
Builder info
/usr/bin/docker buildx build --iidfile /home/runner/work/_temp/docker-actions-toolkit-sIJalw/build-iidfile-[1](https://github.com/anijjar/docker-python-tutorial/actions/runs/11474053078/job/31929484229#step:4:1)cb39b3a46.txt --platform linux/amd64,linux/arm64 --attest type=provenance,mode=max,builder-id=https://github.com/anijjar/docker-python-tutorial/actions/runs/11474053078/attempts/3 --secret id=GIT_AUTH_TOKEN,src=/home/runner/work/_temp/docker-actions-toolkit-sIJalw/tmp-2063-8QpsrKbDZxsF --tag anijjar/docker-python-tutorial:latest --metadata-file /home/runner/work/_temp/docker-actions-toolkit-sIJalw/build-metadata-cf7df5064b.json --push https://github.com/anijjar/docker-python-tutorial.git#13da02a9c6182f0a6bf08b9edcd41b02f1976ddd
#0 building with "builder-e7575d76-a274-4[12](https://github.com/anijjar/docker-python-tutorial/actions/runs/11474053078/job/31929484229#step:4:14)3-aaa2-80c1b3a7ada8" instance using docker-container driver

#1 [internal] load git source https://github.com/anijjar/docker-python-tutorial.git#13da02a9c6182f0a6bf08b9edcd41b02f1976ddd
#1 0.141 Initialized empty Git repository in /var/lib/buildkit/runc-overlayfs/snapshots/snapshots/1/fs/
#1 0.162 fatal: Not a valid object name 13da02a9c6182f0a6bf08b9edcd41b02f1976ddd^{commit}
#1 1.049 From https://github.com/anijjar/docker-python-tutorial
#1 1.049  * [new branch]      main       -> origin/main
#1 DONE 1.1s
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
Reference
Check build summary support
Error: buildx failed with: ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

Location

https://docs.docker.com/guides/python/configure-ci-cd/

Suggestion

This part of the tutorial doesn't make any mention of adding a docker file or an existing project. It should add another step or 2 to offer a complete example, like running 'docker init' and adding the requirements.txt file at minimum

@anijjar anijjar added the status/triage Needs triage label Oct 23, 2024
@dvdksn dvdksn added kind/enhancement Improves the usability of docs area/guides and removed status/triage Needs triage kind/enhancement Improves the usability of docs labels Oct 30, 2024
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

2 participants