{"id":31201945,"url":"https://github.com/programmfabrik/goreleaser-cross-compile","last_synced_at":"2026-02-12T22:33:55.752Z","repository":{"id":97950668,"uuid":"525305562","full_name":"programmfabrik/goreleaser-cross-compile","owner":"programmfabrik","description":"This repository extends the cross-compile docker image for goreleaser to build the fylr application.","archived":false,"fork":false,"pushed_at":"2025-08-14T14:24:46.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-20T13:06:31.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/programmfabrik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-16T09:07:49.000Z","updated_at":"2025-08-14T14:24:00.000Z","dependencies_parsed_at":"2024-09-06T02:14:57.656Z","dependency_job_id":"efd69d9b-b71d-412e-946d-39fa230bb4cb","html_url":"https://github.com/programmfabrik/goreleaser-cross-compile","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/programmfabrik/goreleaser-cross-compile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmfabrik%2Fgoreleaser-cross-compile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmfabrik%2Fgoreleaser-cross-compile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmfabrik%2Fgoreleaser-cross-compile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmfabrik%2Fgoreleaser-cross-compile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/programmfabrik","download_url":"https://codeload.github.com/programmfabrik/goreleaser-cross-compile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmfabrik%2Fgoreleaser-cross-compile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29383982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-09-20T13:02:50.906Z","updated_at":"2026-02-12T22:33:55.748Z","avatar_url":"https://github.com/programmfabrik.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goreleaser-cross-compile\n\n## Description\n\nThis repository extends the [cross-compile docker image for goreleaser](https://github.com/goreleaser/goreleaser-cross) to build the [fylr](https://github.com/programmfabrik/fylr) application.\n\n## Tag schema\n\nTags follow the [origin version scheme] (https://github.com/goreleaser/goreleaser-cross/releases) with one exception:\n\nVersions that follow the `vX.X.X-X` scheme are intended as patches for the origin `vX.X.X` version\n\n## Updating this to a newer version\n\n1. at least update the versions in `Makefile`\n\n2. make a release in this repository with a new tag, syntax as the other existing releases\n\n## Using our variant of goreleaser-cross\n\n1. Place a `.goreleaser.yml` file in the root of the repository you want to use it in. See `.goreleaser.yml` in  [fylr](https://github.com/programmfabrik/fylr) if you have access. Otherwise: Example:\n\n```yaml\nbefore:\n  hooks:\n    - make generate\n    - go mod tidy\n\nbuilds:\n  - id: fylr-build-darwin-amd64\n    binary: example\n    env:\n      - CGO_ENABLED=1\n      - CC=o64-clang\n      - CXX=o64-clang++\n    main: .\n    goos:\n      - darwin\n    goarch:\n      - amd64\n    ldflags:\n      - -s -w -X main.buildCommit=${GIT_COMMIT_SHA} -X main.buildTime=${BUILD_TIME} -X main.buildVersion={{.Version}}\n\n  - id: fylr-build-darwin-arm64\n    binary: example\n    env:\n      - CGO_ENABLED=1\n      - CC=aarch64-apple-darwin20.2-clang\n      - CXX=aarch64-apple-darwin20.2-clang++\n    main: .\n    goos:\n      - darwin\n    goarch:\n      - arm64\n    ldflags:\n      - -s -w -X main.buildCommit=${GIT_COMMIT_SHA} -X main.buildTime=${BUILD_TIME} -X main.buildVersion={{.Version}}\n\n  - id: fylr-build-linux\n    binary: example\n    env:\n      - CGO_ENABLED=1\n    main: .\n    goos:\n      - linux\n    goarch:\n      - amd64\n    ldflags:\n      - -s -w -X main.buildCommit=${GIT_COMMIT_SHA} -X main.buildTime=${BUILD_TIME} -X main.buildVersion={{.Version}}\n\n  - id: fylr-build-windows-x64\n    binary: example\n    env:\n      - CGO_ENABLED=1\n      - CC=x86_64-w64-mingw32-gcc\n      - CXX=x86_64-w64-mingw32-g++\n    main: .\n    goos:\n      - windows\n    goarch:\n      - amd64\n    ldflags:\n      - -s -w -X main.buildCommit=${GIT_COMMIT_SHA} -X main.buildTime=${BUILD_TIME} -X main.buildVersion={{.Version}} -buildmode=exe\n\narchives:\n- format: tar.gz\n  format_overrides:\n    - goos: windows\n      format: zip\n  name_template: \"{{ .Binary }}_v{{ .Version }}_{{ .ShortCommit }}_{{ .Os }}_{{ .Arch }}\"\n  replacements:\n    amd64: x64\n    arm64: ARM64\n    darwin: macOS\n    linux: Linux\n    windows: Windows\n  allow_different_binary_count: true\n\nrelease:\n  draft: true\n  prerelease: auto\n  name_template: \"Release {{.Tag}}\"\n\nchecksum:\n  name_template: \"{{ .ProjectName }}_checksums.txt\"\n\nsnapshot:\n  name_template: SNAPSHOT-{{.ShortCommit}}\n\nchangelog:\n  use: github\n  sort: asc\n  groups:\n    - title: Features\n      regexp: \"^.*feat[(\\\\w)]*:+.*$\"\n      order: 0\n    - title: \"Bug fixes\"\n      regexp: \"^.*fix[(\\\\w)]*:+.*$\"\n      order: 1\n    - title: \"Enhancements\"\n      regexp: \"^.*enhancement[(\\\\w)]*:+.*$\"\n      order: 2\n    - title: Others\n      order: 999\n  filters:\n    exclude:\n      - \"^docs:\"\n      - \"^test:\"\n      - \"^github:\"\n      - \"^ci:\"\n      - \"^cd:\"\n      - \"^ci/cd:\"\n      - \"^example:\"\n      - \"^gomod:\"\n      - \"^git:\"\n      - \"^goreleaser:\"\n      - \"^Merge branch\"\n      - \"WIP\"\n```\n\n2. run goreleaser-cross\n\nin this example: a snapshot (--snapshot)\n\n```bash\ndocker run \\\n    --rm \\\n    --privileged \\\n    -e CGO_ENABLED=1 \\\n    --env-file .release-env \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    -v `pwd`:/go/src/$(PACKAGE_NAME) \\\n    -v `pwd`/sysroot:/sysroot \\\n    -w /go/src/$(PACKAGE_NAME) \\\n    docker.fylr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \\\n    release --rm-dist --snapshot\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammfabrik%2Fgoreleaser-cross-compile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammfabrik%2Fgoreleaser-cross-compile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammfabrik%2Fgoreleaser-cross-compile/lists"}