File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 17
17
endif
18
18
19
19
# Requires login at google storage.
20
- copy-npcap: status=".status.copy-npcap"
21
20
copy-npcap:
22
- @echo '0' > ${status}
23
21
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)
25
23
else
26
24
@echo 'Only available if running in the CI'
27
25
endif
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ DEBIAN_VERSION ?= 9
7
7
SUFFIX := -$(shell basename $(CURDIR))
8
8
TAG_EXTENSION ?=
9
9
10
- export DEBIAN_VERSION TAG_EXTENSION
10
+ export DEBIAN_VERSION TAG_EXTENSION NPCAP_FILE
11
11
12
12
DOCKER_CMD := docker build
13
13
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ARG VERSION
3
3
ARG TAG_EXTENSION=''
4
4
FROM ${REPOSITORY}/golang-crossbuild:${VERSION}-main${TAG_EXTENSION}
5
5
6
- COPY lib /installer
6
+ COPY lib/{{.NPCAP_FILE}} /installer/
7
7
8
8
# Build-time metadata as defined at http://label-schema.org.
9
9
ARG BUILD_DATE
You can’t perform that action at this time.
0 commit comments