-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: build docker images on platform-specific runners instead of QEMU #5048
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 4 Skipped Deployments
|
8cce023
to
af0b60e
Compare
af0b60e
to
ef70952
Compare
ef70952
to
9b0498c
Compare
7d484ac
to
e68371f
Compare
46f1dc4
to
be841d7
Compare
be841d7
to
53b808e
Compare
…platform-specific runners
53b808e
to
0b17f9a
Compare
|
||
# Check iota_node: true if the input is set to true and the event is workflow_dispatch, | ||
# or if the event is a release (in which case the job should run regardless of the input). | ||
if [ "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.iota_node == 'true' || github.event_name == 'release' }}" == "true" ]; then |
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.
Just curious, do we actually need the final == "true"
? Isn't it already a boolean?
exit 1 | ||
fi | ||
|
||
echo "images=[$(printf '"%s",' "${images_array[@]}" | sed 's/,$//')]" >> "$GITHUB_OUTPUT" |
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.
I'm assuming this makes it into a JSON compatible square-bracket array?
|
||
- name: Build and push Docker image for iota-node | ||
- name: Build and push by digest |
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.
What does "by digest" mean here?
Description of change
Split the docker workflow into separate jobs to be able to build on platform-specific runners
Fixes #5046