Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge After (Please merge with the below order)
update shard github-config
workflowUpdate Go Version
workflow## Instructions on how to merge
Create release
workflowSummary
This PR adds support for producing multi-arch artifacts based on the implementation of the jammy-tiny-stack.
Supports:
amd64
keyword is not included in the artifacts. E.g. thejammy-tiny-stack-0.2.53-amd64-run-receipt.cyclonedx.json
will be on the artifacts with the namejammy-tiny-stack-0.2.53-run-receipt.cyclonedx.json
. This is a choice to support the existing naming convention for theamd64
files so as not to break any backward compatibility.stack.toml
, the release notes are included on the artifacts and not on the release description, similar to whatjammy-tiny-stack
implementation does.This PR has been tested various times on multiple repositories, although issues might arise. Therefore, I'm committed to watching for any errors and immediately opening a PR to fix them.
Use Cases
Produces Multi-architecture releases based on what is declared on the
stack.toml
.Sample output of the release notes.
Instructions on how to merge
Due to the current tag workflow not producing any arm64 assets, the below instructions have to be followed in order for the workflow to run.
Merge the PR without squashing the commits.
remove the local tag on your machine
git tag -d v0.0.3
tag the commit where the architecture is only one on the
stack.toml
. Is the commit with the nameremoving arm64
git tag v0.0.3
<commit-id>
git push -f origin v0.0.3
This is necessary, as the workflow checks if the arch already exists based on the last tag, and in that case, it will search for the corresponding artifacts. In that case, this repo does not have any arm64 artifacts, and therefore it breaks.
Checklist