Skip to content

Commit f8a77e8

Browse files
Merge branch 'main' into feat/db2
2 parents 20dc519 + afadbf3 commit f8a77e8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Makefile.common

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ endif
1717
endif
1818

1919
# Requires login at google storage.
20-
copy-npcap: status=".status.copy-npcap"
2120
copy-npcap:
22-
@echo '0' > ${status}
2321
ifeq ($(CI),true)
24-
@gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE) || echo '1' > ${status}
22+
@gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE)
2523
else
2624
@echo 'Only available if running in the CI'
2725
endif

go/Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DEBIAN_VERSION ?= 9
77
SUFFIX := -$(shell basename $(CURDIR))
88
TAG_EXTENSION ?=
99

10-
export DEBIAN_VERSION TAG_EXTENSION
10+
export DEBIAN_VERSION TAG_EXTENSION NPCAP_FILE
1111

1212
DOCKER_CMD := docker build
1313

go/npcap/Dockerfile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG VERSION
33
ARG TAG_EXTENSION=''
44
FROM ${REPOSITORY}/golang-crossbuild:${VERSION}-main${TAG_EXTENSION}
55

6-
COPY lib /installer
6+
COPY lib/{{.NPCAP_FILE}} /installer/
77

88
# Build-time metadata as defined at http://label-schema.org.
99
ARG BUILD_DATE

0 commit comments

Comments
 (0)