docs
docs copied to clipboard
Python language specific guide - Add more steps for 'Configure CI/CD'
Is this a docs issue?
- [x] 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