This repository was archived by the owner on Dec 16, 2022. It is now read-only.
File tree 6 files changed +11
-11
lines changed
6 files changed +11
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 23
23
- 5000:5000
24
24
steps :
25
25
- name : Checkout
26
- id : checkout
27
26
uses : actions/checkout@v2
27
+ - name : Unshallow
28
+ run : git fetch --prune --unshallow
28
29
- name : Set up QEMU
29
30
id : qemu
30
31
uses : docker/setup-qemu-action@v1
54
55
key : ${{ runner.os }}-buildx-ghcache-${{ github.sha }}
55
56
restore-keys : |
56
57
${{ runner.os }}-buildx-ghcache-
58
+ - run : cat ./hack/Makefile
57
59
- name : Build candidate image
58
60
id : build_candidate
59
61
uses : docker/build-push-action@v2
Original file line number Diff line number Diff line change 1
1
FROM scratch
2
2
3
- COPY hack/Makefile Makefile
3
+ COPY ./ hack/Makefile Makefile
Original file line number Diff line number Diff line change 1
1
# This Dockerfile tests the hack/Makefile output against git2go.
2
2
ARG BASE_VARIANT=bullseye
3
- ARG GO_VERSION=1.16.8
3
+ ARG GO_VERSION=1.17.5
4
4
ARG XX_VERSION=1.0.0-rc.2
5
5
6
6
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
@@ -12,7 +12,7 @@ FROM gostable AS go-linux
12
12
FROM go-${TARGETOS} AS build-base-bullseye
13
13
14
14
COPY --from=xx / /
15
- COPY hack/Makefile /libgit2/Makefile
15
+ COPY ./ hack/Makefile /libgit2/Makefile
16
16
17
17
RUN make -C /libgit2/ cmake
18
18
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ STATIC_TEST_TAG := test
5
5
PLATFORMS ?= linux/amd64,linux/arm/v7,linux/arm64
6
6
BUILD_ARGS ?=
7
7
8
- GIT2GO_TAG ?= v33.0 .1
8
+ GIT2GO_TAG ?= v31.6 .1
9
9
10
10
.PHONY : build
11
11
build :
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ INSTALL_LIBDIR ?= $(INSTALL_PREFIX)/lib/$(shell xx-info triple)
15
15
endif
16
16
BUILD_TYPE ?= "RelWithDebInfo"
17
17
FLAGS ?=
18
- USE_HTTPS ?= OFF
19
- USE_SSH ?= OFF
18
+ USE_HTTPS ?= OpenSSL
19
+ USE_SSH ?= ON
20
20
USE_BUNDLED_ZLIB ?= OFF
21
21
BUILD_SHARED_LIBS ?= ON
22
22
23
23
# Cmake version to be installed.
24
24
CMAKE_VERSION ?= 3.21.3
25
25
26
26
# Libgit2 version to be compiled and installed.
27
- LIBGIT2_VERSION ?= 1.3.0
27
+ LIBGIT2_VERSION ?= 1.1.1
28
28
# In some scenarios libgit2 needs to be checked out to a specific commit.
29
29
# This takes presidence over LIBGIT_VERSION if defined.
30
30
# Ref: https://github.com/libgit2/git2go/issues/834
@@ -127,7 +127,7 @@ $(LIBGIT2):
127
127
-DBUILD_CLAR:BOOL:BOOL=OFF \
128
128
-DTHREADSAFE:BOOL=ON \
129
129
-DBUILD_SHARED_LIBS:BOOL=$(BUILD_SHARED_LIBS ) \
130
- -DUSE_BUNDLED_ZLIB:BOOL=OFF \
130
+ -DUSE_BUNDLED_ZLIB:BOOL=$( USE_BUNDLED_ZLIB ) \
131
131
-DUSE_HTTP_PARSER:STRING=builtin \
132
132
-DREGEX_BACKEND:STRING=builtin \
133
133
-DUSE_HTTPS:STRING=$(USE_HTTPS ) \
You can’t perform that action at this time.
0 commit comments