mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
db4d9872cc
This change adds linux/arm64 binaries to the release. It also publishes an arm64 container image for all variants (standard, debug, rootless, static) and releases (dev, edge, latest). The build and push process uses buildx in order to push the individual images by digest (i.e. untagged) and reference them in a single, tagged manifest list. This avoids cluttering Docker Hub's tag list with `<tag>-<arch>` tags. Fixes #2233 Signed-off-by: Nick Graef <1031317+ngraef@users.noreply.github.com>
28 lines
753 B
Go
28 lines
753 B
Go
// Copyright 2016 The OPA Authors. All rights reserved.
|
|
// Use of this source code is governed by an Apache2
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package version contains version information that is set at build time.
|
|
package version
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
// Version is the canonical version of OPA.
|
|
var Version = "0.37.0-dev"
|
|
|
|
// GoVersion is the version of Go this was built with
|
|
var GoVersion = runtime.Version()
|
|
|
|
// Platform is the runtime OS and architecture of this OPA binary
|
|
var Platform = runtime.GOOS + "/" + runtime.GOARCH
|
|
|
|
// Additional version information that is displayed by the "version" command and used to
|
|
// identify the version of running instances of OPA.
|
|
var (
|
|
Vcs = ""
|
|
Timestamp = ""
|
|
Hostname = ""
|
|
)
|