Closed norman-zon closed 7 months ago
could not find build
It means ./build
folder doesn't exist. You can add an additional step before "Build and push Docker Image" to make sure of it:
- run: ls -al
- name: Build and push Docker Image
uses: docker/build-push-action@v5
with:
context: .
file: ./build/Dockerfile
push: true
target: migrator
tags: |
${{ env.IMAGE }}:${{ inputs.MigratorTag }}
${{ env.IMAGE }}:latest
🙈 I'm very sorry. Should have caught that myself.
Contributing guidelines
I've found a bug, and:
Description
The
build
part of the/usr/bin/docker buildx build ...
command is interpreted as a file path, instead of a command argument.Expected behaviour
build
is interpreted as argument to thedocker buildx
commandActual behaviour
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
No response
BuildKit logs
No response
Additional info
Running on self-hosted runners, using
ghcr.io/actions/actions-runner v2.311.0