Closed ngocdd closed 2 months ago
Looks legit to me: https://github.com/ngocdd/fe_vntrading/actions/runs/8874522504/job/24362128151#step:6:119
Looking at your repo https://github.com/ngocdd/fe_vntrading, you don't have any Dockerfile
in root dir.
I have the Dockerfile in the root dir of the project, but now I using the command line to build and push instead of using this git action. like this:
jobs:
docker-build:
runs-on: [self-hosted]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: docker build
run: |
docker buildx build -t somename:latest -f .dockerfile .
- name: push image to docker hub
run: |
echo ${{secrets.DOCKERHUB_TOKEN}} | docker login -u ${{secrets.DOCKERHUB_USERNAME}} --password-stdin
docker push docker.io/somename:latest
So I will close this topic here. Thanks team!
I have the Dockerfile in the root dir of the project,
Well was not there last time I checked https://github.com/ngocdd/fe_vntrading and based on commit sha provided in your logs but now repo not found :see_no_evil:
Contributing guidelines
I've found a bug, and:
Description
I got the error ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory, detail log as below, please help to resolve this. Thanks team!
Expected behaviour
The error ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory should not appear
Actual behaviour
I using the default config and it doesn't work
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
No response