Skip to content

Conversation

neilime
Copy link

@neilime neilime commented Oct 13, 2025

Description

Fixing documentation for GitHub Actions section: adding missing actions/checkout step, before building docker images.

To build images we need the Dockerfile to be checked-out. If we don't call the checkout step first, build is failling as it does not find any file: ERROR: failed to build: resolve : lstat tests: no such file or directory

Related issues or tickets

N/A

Reviews

  • Technical review
  • Editorial review
  • Product review

To build image we need the Dockerfile to be checked-out.
If we don't call the checkout step first, build is failling as it does not find any file: `ERROR: failed to build: resolve : lstat tests: no such file or directory`
@neilime neilime requested a review from aevesdocker as a code owner October 13, 2025 07:29
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 0a932c4
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/68ecaa3e97511700083ae0bf
😎 Deploy Preview https://deploy-preview-23546--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the area/build Relates to Dockerfiles or docker build command label Oct 13, 2025
@crazy-max
Copy link
Member

This is not needed as build-push-action builds from Git context by default, see https://github.com/docker/build-push-action/?tab=readme-ov-file#git-context

@crazy-max
Copy link
Member

To build images we need the Dockerfile to be checked-out. If we don't call the checkout step first, build is failling as it does not find any file: ERROR: failed to build: resolve : lstat tests: no such file or directory

If you have a repro of this, please open an issue on action's repo, thanks.

@neilime
Copy link
Author

neilime commented Oct 13, 2025

To build images we need the Dockerfile to be checked-out. If we don't call the checkout step first, build is failling as it does not find any file: ERROR: failed to build: resolve : lstat tests: no such file or directory

If you have a repro of this, please open an issue on action's repo, thanks.

Ok done: docker/build-push-action#1419

@neilime neilime closed this Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants