-
Notifications
You must be signed in to change notification settings - Fork 6
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
Jc/add docker build workflow #191
Conversation
COPY ../Node/src /usr/src/taiko_preconf_avs_node/src | ||
COPY ../Node/Cargo.toml /usr/src/taiko_preconf_avs_node/Cargo.toml | ||
COPY ../Node/Cargo.lock /usr/src/taiko_preconf_avs_node/Cargo.lock | ||
COPY ../Node /app/taiko_preconf_avs_node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, do not copy whole Node
directory, as we build locally, the huge target
directory is created inside and we don't want it to be copied into the docker image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Dockerfile builds the node for you. You don't necessarily need to build locally. I have also add dockerignore file to ignore target dir.
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [master] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a separate workflow for building images for PRs or can we use this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can manually trigger the actions to build the images.
No description provided.