-
Notifications
You must be signed in to change notification settings - Fork 0
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: add CI builds + attestation #3
Conversation
c946c55
to
69cd1d5
Compare
251b179
to
dbc9530
Compare
2dadc58
to
d6b94cc
Compare
wash par insert --arch aarch64-linux --binary "${{inputs.name }}-aarch64" "${{ inputs.name }}.par.gz" | ||
|
||
wash push ${{env.REGISTRY}}/${{env.REPOSITORY}}/${{inputs.name}}:$GITHUB_SHA ${{inputs.name}}.par.gz | ||
wash push ${{env.REGISTRY}}/${{env.REPOSITORY}}/${{inputs.name}}:$(git rev-parse --short HEAD) ${{inputs.name}}.par.gz |
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 is admittedly nitpicky, but if you wanted to avoid having to fetch the short SHA to match GitHub's style, you could also use substring expansion with ${GITHUB_SHA::7}
here
exit 1 | ||
fi | ||
out=$(wash push ${{env.REGISTRY}}/${{env.REPOSITORY}}/cloud-hello:$GITHUB_SHA build/cloud_hello_s.wasm -o json) | ||
wash push ${{env.REGISTRY}}/${{env.REPOSITORY}}/cloud-hello:$(git rev-parse --short HEAD) build/cloud_hello_s.wasm |
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.
Same comment as below about the substring expansion, replacing $(git rev-parse --short HEAD)
with just ${GITHUB_SHA::7}
9ce269c
to
a19ce1a
Compare
Add build pipelines for releasing the component and providers in this repository to ghcr. This also uses Github's new attestation support for generating build provenance as the final step of the release process.
Add build pipelines for releasing the component and providers in this repository to ghcr. This also uses Github's new attestation support for generating build provenance as the final step of the release process.