Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

navidrome/ci-goreleaser

Repository files navigation

Navidrome CI-GoReleaser

Docker Version Repo Version Goreleaser TagLib

Docker image used to generate Navidrome's binaries.

NOTE: If you want to install Navidrome, please read the documentation. Don't try to use the images from this repository!

Usage

Versions used in the image build are defined in the .versions file. To update them, call make update-versions. If there are any changes, you need to build and push a new image with make release version=X.X.X-X. Don't forget to commit the updated .versions file.

The version represents the Go version + a counter. So if the Go version is 1.13.7 and this is the first release based on that, the version should be 1.13.7-1. You can check the latest release with make latest-tag

Manual release

make release version=1.13.7-1 

This will build the image in the local workstation, tag and push the image.

macOS

The macOS part of the build requires the macOS SDK.

If you need to build a different version than it is available in this repo, you can create it with the following instructions:

  1. Register for an Apple developer account, then download Xcode_8.3.3.xip from: https://developer.apple.com/download/more/
  2. Unpack the downloaded xip file in the ~/Downloads folder
  3. Run create_osx_sdk.sh to create the MacOSX10.12.sdk tarfile. You can delete downloaded xip and the Xcode files after the tarfile is created.

Credits:

Based on https://github.com/bep/dockerfiles