-
Notifications
You must be signed in to change notification settings - Fork 551
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
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: #179
Comments
@kylemiller3 Same as #164 (comment). You need to add the Checkout step for Path context: name: ci
on:
push:
branches: master
jobs:
main:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: ***/***
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }} |
Sorry about the spam; I somehow missed that. Guess it was pretty late. Thank you. |
cooperlees
added a commit
to psf/black
that referenced
this issue
Apr 25, 2021
- Reading my error others hit it by forgetting this Checkoutstep too so trying the fix - e.g. docker/build-push-action#179 - Makes sense it's needed
ambv
pushed a commit
to psf/black
that referenced
this issue
Apr 25, 2021
- Reading my error others hit it by forgetting this Checkoutstep too so trying the fix - e.g. docker/build-push-action#179 - Makes sense it's needed
kujenga
added a commit
to kujenga/docker-jupyter
that referenced
this issue
Feb 3, 2022
couponsdiscountspromocodesdiscounts2
added a commit
to couponsdiscountspromocodesdiscounts2/black
that referenced
this issue
Aug 16, 2024
- Reading my error others hit it by forgetting this Checkoutstep too so trying the fix - e.g. docker/build-push-action#179 - Makes sense it's needed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Troubleshooting
I copied a standard yaml file to use and checked out issue #164
My repo has a Dockerfile in the top directory
Expected behaviour
A successful build
Actual behaviour
It throws an error
Configuration
Logs
The text was updated successfully, but these errors were encountered: