Open ankudinov opened 3 months ago
The workflow is currently hardcoded to build on my branch to test before merging.
Do not move out of draft status before changing that.
@yhatt I'd appreciate some help explaining the current Dockerfile logic. Unfortunately I have 0 skills in Node and it can be something trivial.
However my build is using existing Dockerfile and fails with the following error:
#10 25.06 Error: Cannot find module './lib/marp-cli.js'
This probably comes from marp-cli.js
: https://github.com/marp-team/marp-cli/blob/37cd0084ba9bed7a7fa1714e48a59ee4986c56cc/marp-cli.js#L5
I can not get how this file supposed to be created. The Dockerfile COPY --chown=marp:marp . .
definitely not helping.
Here is the latest build log for the reference: https://github.com/ankudinov/marp-cli/actions/runs/9383539973/job/25837379955
Is #515 helpful?
Marp team is currently using CircleCI to push the image to Docker Hub. The triggers and build steps are following:
When updated main
branch:
yarn build
. At this time, necessary files will be generated in the lib
directory. →
lib
directory as artifacts. (It calls "workspaces" in CircleCI)linux/amd64
and linux/arm64
(for Apple Silicon), and publish it to the Docker Hub with latest
tag. →When pushed the tag starting with v.
:
lib
directory.
Start building marp-cli container on GHRC.
Fixes #578