-
Notifications
You must be signed in to change notification settings - Fork 377
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
switch to GHCR and use more github actions #609
Conversation
bors try |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors try not sure what's up here |
.github/workflows/docker.yml
Outdated
run: exit 0 | ||
docker-builds: | ||
name: Docker Build | ||
runs-on: ${{ matrix.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 should work, but we're getting:
Docker Build : .github#L1
Error when evaluating 'runs-on' for job 'docker-builds'. .github/workflows/docker.yml (Line: 18, Col: 14): Unexpected value ''
matrix.image should be ubuntu-latest
always, unless the include overrides it
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.
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.
it doesn't work like I thought it did :D
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
609: switch to GHCR and use more github actions r=reitermarkus a=Emilgardis addresses #607 #571 ## what this does - [x] change default registry to look for cross images to `ghcr.io` - [x] move from azure CI for docker images to GHA - [x] add clippy (that does not fail job, can be made to do this later) and rustfmt - [x] bump QEMU to 5.1 - [ ] Add (better) layer caching ## Some nice things to have/include - [x] Cache docker images, possibly using buildx (probably out of scope of this pr) - [x] Use actions/cache - [ ] make configuration easier to maintain - [ ] possibly replace docker setup with actions Co-authored-by: Emil Gardström <[email protected]> Co-authored-by: Marco A L Barbosa <[email protected]> Co-authored-by: Jesse Szwedko <[email protected]> Co-authored-by: Will <[email protected]> Co-authored-by: Sven-Hendrik Haase <[email protected]> Co-authored-by: Joe Richey <[email protected]> Co-authored-by: Markus Reiter <[email protected]>
Build failed: |
bors retry |
Build succeeded: |
646: don't push and load at the same time r=reitermarkus a=Emilgardis https://github.com/cross-rs/cross/actions/runs/1978039245 merge of #609 failed, this should fix that Co-authored-by: Emil Gardström <[email protected]>
653: Add #609 to changelog. r=Emilgardis a=reitermarkus Co-authored-by: Markus Reiter <[email protected]>
Fixes the solaris targets, and re-enables them in CI. Related to cross-rs#534 and cross-rs#609.
Uses a trick described in rust-lang/rust/issues#85821#issuecomment-969369677. Note that this still allows it to run, despite there seemingly being no entry point: this has no effect on the resulting code. Related to cross-rs#609. Partially fixes cross-rs#839.
Uses a trick described in rust-lang/rust/issues#85821#issuecomment-969369677. Note that this still allows it to run, despite there seemingly being no entry point: this has no effect on the resulting code. Related to cross-rs#609. Partially fixes cross-rs#839.
840: Re-enable wasm32-unknown-emscripten target. r=Emilgardis a=Alexhuszagh Uses a trick described in rust-lang/rust/issues#85821#issuecomment-969369677. Note that this still allows it to run, despite there seemingly being no entry point: this has no effect on the resulting code. Related to #609. Partially fixes #839. Co-authored-by: Alex Huszagh <[email protected]>
Fixes the solaris targets, and re-enables them in CI. Related to cross-rs#534 and cross-rs#609.
Uses a trick described in rust-lang/rust/issues#85821#issuecomment-969369677. Note that this still allows it to run, despite there seemingly being no entry point: this has no effect on the resulting code. Related to cross-rs#609. Partially fixes cross-rs#839.
See https://github.com/cross-rs/cross/wiki/Configuration#builddockerfile for context regarding the $CROSS_BASE_IMAGE environment variable. Here, it resolves to ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:{{cross_version}} Relies on docker caching instead of pre-building the image. Cross made the change to the GHCR on cross-rs/cross#609 Add newline at EOF for some files.
See https://github.com/cross-rs/cross/wiki/Configuration#builddockerfile for context regarding the $CROSS_BASE_IMAGE environment variable. Here, it resolves to ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:{{cross_version}} Relies on docker caching instead of pre-building the image. Cross made the change to the GHCR on cross-rs/cross#609 Add newline at EOF for some files.
addresses #607 #571
what this does
ghcr.io
Some nice things to have/include