From 088147634f748d83a676019a6621f66f21aa6287 Mon Sep 17 00:00:00 2001 From: Chung Wu Date: Wed, 12 Jan 2022 14:21:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Specify=20tag=20for=20likecoin/r?= =?UTF-8?q?builder=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bf0721443..7c0e7cdd4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM likecoin/rbuilder:latest as builder +FROM likecoin/rbuilder:cf0d1a9f3731e30540bbfa36a36d13e4dcccf5eb as builder COPY . /sources ARG VERSION diff --git a/Makefile b/Makefile index 474ae596a7..913a5d8441 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ COMMIT := $(shell git rev-parse HEAD) LEDGER_ENABLED ?= true DOCKER := $(shell which docker) IMAGE_TAG = likecoin/likecoin-chain:$(VERSION) +RBUILDER_IMAGE_TAG = cf0d1a9f3731e30540bbfa36a36d13e4dcccf5eb BUILDDIR ?= $(CURDIR)/build export GO111MODULE = on @@ -95,7 +96,7 @@ build-reproducible: go.sum --env VERSION=$(VERSION) \ --env COMMIT=$(COMMIT) \ --env LEDGER_ENABLED=$(LEDGER_ENABLED) \ - --name latest-build likecoin/rbuilder:latest + --name latest-build likecoin/rbuilder:$(RBUILDER_IMAGE_TAG) $(DOCKER) cp -a latest-build:/home/builder/artifacts/ $(CURDIR)/ build-docker: go.sum