GitXplorerGitXplorer
v

goreleaser-rust-cross

public
3 stars
0 forks
1 issues

Commits

List of commits on branch main.
Verified
149b3372bea5b06d878d6ba6aea225fea8492cda

chore(deps): update docker/build-push-action action to v6.12.0 (#8)

rrenovate[bot] committed 3 days ago
Verified
d6d2c64a6a6be22be1629263d9820c6853b3a124

ci: update cron (goreleaser now publishes nightly instead of weekly)

vvedantmgoyal9 committed 6 days ago
Verified
cc397a302cb5a39954f80c47e09f406a74a98d8f

docs: update rust version

vvedantmgoyal9 committed 6 days ago
Verified
7b13c3d20eb2ebef0025e059de611eaf26a36ffa

docs: `*-apple-darwin` release builds are fixed in rust 1.84.0

vvedantmgoyal9 committed 6 days ago
Verified
c7d78a39cc9a60e1407c0f24b6254ef39f4f93b7

chore(deps): update rust docker tag to v1.84.0 (#5)

rrenovate[bot] committed 8 days ago
Verified
1a5c59eb666b379609d5b9a1e4b94ddfbce43253

chore: configure renovate (#4)

rrenovate[bot] committed 8 days ago

README

The README file for this repository.

goreleaser-rust-cross

🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub

Docker image for cross-compiling Rust projects with GoReleaser.

TODO:

  • [ ] Add chocolatey

Installed tools

By using this software you are consented to accept the license at https://go.microsoft.com/fwlink/?LinkId=2086102

Please ensure you have read and understood the Xcode license terms before continuing.

Docker

Environment variables

  • GoReleaser variables.
  • GPG_KEY (optional) - defaults to /secrets/key.gpg. Ignored if file not found.
  • DOCKER_CREDS_FILE (optional) - path to JSON file with docker login credentials. Useful when push to multiple docker registries required.
  • DOCKER_FAIL_ON_LOGIN_ERROR (optional) - fail on docker login error.

Login to registry

Github Actions

Use docker login to auth to repos and mount docker config file. For example:

docker run -v $(HOME)/.docker/config.json:/root/.docker/config.json ...

Docker Creds file

To login from within goreleaser-rust-cross container, create creds file.

{
    "registries": [
        {
            "user": "<username>",
            "pass": "<password>",
            "registry": "<registry-url>" // for e.g. ghcr.io
        }
    ]
}

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.