Skip to content

Commit

Permalink
Merge branch 'main' into feat/db2
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat authored Jan 26, 2024
2 parents 20dc519 + afadbf3 commit f8a77e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ endif
endif

# Requires login at google storage.
copy-npcap: status=".status.copy-npcap"
copy-npcap:
@echo '0' > ${status}
ifeq ($(CI),true)
@gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE) || echo '1' > ${status}
@gsutil cp gs://$(GS_BUCKET_PATH)/private/$(NPCAP_FILE) ../npcap/lib/$(NPCAP_FILE)
else
@echo 'Only available if running in the CI'
endif
Expand Down
2 changes: 1 addition & 1 deletion go/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEBIAN_VERSION ?= 9
SUFFIX := -$(shell basename $(CURDIR))
TAG_EXTENSION ?=

export DEBIAN_VERSION TAG_EXTENSION
export DEBIAN_VERSION TAG_EXTENSION NPCAP_FILE

DOCKER_CMD := docker build

Expand Down
2 changes: 1 addition & 1 deletion go/npcap/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG VERSION
ARG TAG_EXTENSION=''
FROM ${REPOSITORY}/golang-crossbuild:${VERSION}-main${TAG_EXTENSION}

COPY lib /installer
COPY lib/{{.NPCAP_FILE}} /installer/

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

0 comments on commit f8a77e8

Please sign in to comment.