Add a new generic container registry client via a new `container` package. Use this to create a command line utility as well as a new upload target for container registries. The code uses the github.com/containers/* project and packages to interact with container registires that is also used by skopeo, podman et al. One if the dependencies is `proglottis/gpgme` that is using cgo to bind libgpgme, so we have to add the corresponding devel package to the BuildRequires as well as installing it on CI. Checks will follow later via an integration test.
18 lines
535 B
Go
18 lines
535 B
Go
package version
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
// VersionMajor is for an API incompatible changes
|
|
VersionMajor = 5
|
|
// VersionMinor is for functionality in a backwards-compatible manner
|
|
VersionMinor = 21
|
|
// VersionPatch is for backwards-compatible bug fixes
|
|
VersionPatch = 1
|
|
|
|
// VersionDev indicates development branch. Releases will be empty string.
|
|
VersionDev = ""
|
|
)
|
|
|
|
// Version is the specification version that the package types support.
|
|
var Version = fmt.Sprintf("%d.%d.%d%s", VersionMajor, VersionMinor, VersionPatch, VersionDev)
|