Update to golang-with-libgit2-all image
This dependency now releases two different images, one containing the entire dependency chain for libgit2, and another containing just the library itself. The latter will be later used once Managed Transport is completely removed from source controller. As part of this update, the image now follows a new tag format which is semver based and starts at 0.1.0. Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
0633c57629
commit
02f5b94baf
|
@ -2,8 +2,8 @@ ARG BASE_VARIANT=alpine
|
|||
ARG GO_VERSION=1.17
|
||||
ARG XX_VERSION=1.1.0
|
||||
|
||||
ARG LIBGIT2_IMG=ghcr.io/fluxcd/golang-with-libgit2
|
||||
ARG LIBGIT2_TAG=libgit2-1.3.1
|
||||
ARG LIBGIT2_IMG=ghcr.io/fluxcd/golang-with-libgit2-all
|
||||
ARG LIBGIT2_TAG=v0.1.0
|
||||
|
||||
FROM ${LIBGIT2_IMG}:${LIBGIT2_TAG} AS libgit2-libs
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -3,8 +3,8 @@ IMG ?= fluxcd/source-controller
|
|||
TAG ?= latest
|
||||
|
||||
# Base image used to build the Go binary
|
||||
LIBGIT2_IMG ?= ghcr.io/fluxcd/golang-with-libgit2
|
||||
LIBGIT2_TAG ?= libgit2-1.3.1
|
||||
LIBGIT2_IMG ?= ghcr.io/fluxcd/golang-with-libgit2-all
|
||||
LIBGIT2_TAG ?= v0.1.0
|
||||
|
||||
# Allows for defining additional Go test args, e.g. '-tags integration'.
|
||||
GO_TEST_ARGS ?= -race
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
set -euxo pipefail
|
||||
|
||||
LIBGIT2_TAG="${LIBGIT2_TAG:-libgit2-1.3.1}"
|
||||
LIBGIT2_TAG="${LIBGIT2_TAG:-v0.1.0}"
|
||||
GOPATH="${GOPATH:-/root/go}"
|
||||
GO_SRC="${GOPATH}/src"
|
||||
PROJECT_PATH="github.com/fluxcd/source-controller"
|
||||
|
|
Loading…
Reference in New Issue