{"id":25126960,"url":"https://github.com/goreleaser/goreleaser-rust-cross","last_synced_at":"2025-04-23T13:29:40.083Z","repository":{"id":266377404,"uuid":"897529488","full_name":"goreleaser/goreleaser-rust-cross","owner":"goreleaser","description":"Docker image for cross-compiling Rust projects with GoReleaser.","archived":false,"fork":false,"pushed_at":"2025-04-04T09:07:32.000Z","size":41,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:22:51.692Z","etag":null,"topics":["cargo","cargo-xwin","cargo-zigbuild","clang-cl","cross-compilation","docker","goreleaser","lld","lld-link","msvc","msvcrt","rust","windows","xwin","zig"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goreleaser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["caarlos0"],"open_collective":"goreleaser","custom":["https://goreleaser.com/pro"]}},"created_at":"2024-12-02T19:38:30.000Z","updated_at":"2025-04-04T09:06:58.000Z","dependencies_parsed_at":"2025-01-24T20:25:22.944Z","dependency_job_id":"50ab9044-9196-4fcd-b6a6-d28a08d8d436","html_url":"https://github.com/goreleaser/goreleaser-rust-cross","commit_stats":null,"previous_names":["vedantmgoyal9/goreleaser-rust-cross","goreleaser/goreleaser-rust-cross"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goreleaser%2Fgoreleaser-rust-cross","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goreleaser%2Fgoreleaser-rust-cross/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goreleaser%2Fgoreleaser-rust-cross/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goreleaser%2Fgoreleaser-rust-cross/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goreleaser","download_url":"https://codeload.github.com/goreleaser/goreleaser-rust-cross/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249234140,"owners_count":21234945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","cargo-xwin","cargo-zigbuild","clang-cl","cross-compilation","docker","goreleaser","lld","lld-link","msvc","msvcrt","rust","windows","xwin","zig"],"created_at":"2025-02-08T10:45:53.910Z","updated_at":"2025-04-23T13:29:40.069Z","avatar_url":"https://github.com/goreleaser.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/caarlos0","https://opencollective.com/goreleaser","https://goreleaser.com/pro","https://github.com/sponsors/vedantmgoyal9"],"categories":[],"sub_categories":[],"readme":"# goreleaser-rust-cross\n\n\u003e 🚀 Help me to become a full-time open-source developer by [sponsoring me on GitHub](https://github.com/sponsors/vedantmgoyal9)\n\nDocker image for cross-compiling Rust projects with GoReleaser.\n\nTODO:\n- [ ] Add chocolatey\n\n## Installed tools\n\n- `rustup`/`cargo` (stable - 1.84.0) - you can install other toolchains as needed\n- [`cargo-zigbuild`](https://github.com/rust-cross/cargo-zigbuild) (thanks to [**@messense**](https://github.com/messense))\n- [`zig`](https://ziglang.org)\n- [`cargo-xwin`](https://github.com/rust-cross/cargo-xwin) (thanks to [**@messense**](https://github.com/messense) and [**@Jake-Shadle**](https://github.com/Jake-Shadle))\n- Microsoft CRT headers and libraries\n- Windows SDK headers and libraries\n- MacOSX11.3.sdk\n\n\u003e **By using this software you are consented to accept the license at https://go.microsoft.com/fwlink/?LinkId=2086102**\n\n\u003e [**Please ensure you have read and understood the Xcode license terms before continuing.**](https://www.apple.com/legal/sla/docs/xcode.pdf)\n\n## Docker\n\n### Environment variables\n\n- [GoReleaser](https://github.com/goreleaser/goreleaser) variables.\n- `GPG_KEY` (optional) - defaults to /secrets/key.gpg. Ignored if file not found.\n- `DOCKER_CREDS_FILE` (optional) - path to JSON file with docker login credentials. Useful when push to multiple docker registries required.\n- `DOCKER_FAIL_ON_LOGIN_ERROR` (optional) - fail on docker login error.\n\n### Login to registry\n\n#### Github Actions\n\nUse [docker login](https://github.com/docker/login-action) to auth to repos and mount docker config file. For example:\n\n```shell\ndocker run -v $(HOME)/.docker/config.json:/root/.docker/config.json ...\n```\n\n#### Docker Creds file\n\nTo login from within `goreleaser-rust-cross` container, create creds file.\n\n```json\n{\n    \"registries\": [\n        {\n            \"user\": \"\u003cusername\u003e\",\n            \"pass\": \"\u003cpassword\u003e\",\n            \"registry\": \"\u003cregistry-url\u003e\" // for e.g. ghcr.io\n        }\n    ]\n}\n```\n\n## License\n\nThis work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoreleaser%2Fgoreleaser-rust-cross","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoreleaser%2Fgoreleaser-rust-cross","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoreleaser%2Fgoreleaser-rust-cross/lists"}