good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 0d259384 authored by battlmonstr's avatar battlmonstr Committed by GitHub
Browse files

CI (#3779): pass docker build arguments on Docker Hub (#4252)

parent b9bf9736
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ GOBIN = $(CURDIR)/build/bin ...@@ -3,7 +3,7 @@ GOBIN = $(CURDIR)/build/bin
GIT_COMMIT ?= $(shell git rev-list -1 HEAD) GIT_COMMIT ?= $(shell git rev-list -1 HEAD)
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
GIT_TAG ?= $(shell git describe --tags --dirty) GIT_TAG ?= $(shell git describe --tags '--match=v*' --dirty)
CGO_CFLAGS := $(shell $(GO) env CGO_CFLAGS) # don't loose default CGO_CFLAGS := $(shell $(GO) env CGO_CFLAGS) # don't loose default
CGO_CFLAGS += -DMDBX_FORCE_ASSERTIONS=1 # Enable MDBX's asserts by default in 'devel' branch and disable in 'stable' CGO_CFLAGS += -DMDBX_FORCE_ASSERTIONS=1 # Enable MDBX's asserts by default in 'devel' branch and disable in 'stable'
......
#!/bin/bash
# This is needed to pass build ARGs to Dockerfile.
# see https://docs.docker.com/docker-hub/builds/advanced/
DOCKER_FLAGS="-t $IMAGE_NAME" \
GIT_TAG=$(git describe --tags '--match=v*' --dirty) \
make docker
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment