Skip to content

Commit

Permalink
fix failed build trustbloc#264
Browse files Browse the repository at this point in the history
Signed-off-by: ali.alkhalidi <ali.alkhalidi@securekey.com>
  • Loading branch information
alialkhalidi committed Feb 11, 2021
1 parent f6463cb commit 1b956cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

DOCKER_OUTPUT_NS ?= ghcr.io
# Namespace for the did method image
DID_METHOD_REST_IMAGE_NAME ?= trustbloc/trustbloc-did-method/did-method-rest
DID_METHOD_CLI_IMAGE_NAME ?= trustbloc/trustbloc-did-method/did-method-cli
DID_METHOD_REST_IMAGE_NAME ?= trustbloc/driver-did-trustbloc
DID_METHOD_CLI_IMAGE_NAME ?= trustbloc/did-method-cli

# Tool commands (overridable)
ALPINE_VER ?= 3.12
Expand Down Expand Up @@ -55,7 +55,7 @@ generate-config-hash: did-method-cli

.PHONY: did-method-rest-docker
did-method-rest-docker:
@echo "Building did method rest docker image"
@echo "Building did method docker image"
@docker build -f ./images/did-method-rest/Dockerfile --no-cache -t $(DOCKER_OUTPUT_NS)/$(DID_METHOD_REST_IMAGE_NAME):latest \
--build-arg GO_VER=$(GO_VER) \
--build-arg ALPINE_VER=$(ALPINE_VER) .
Expand Down
3 changes: 3 additions & 0 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
make did-method-rest-docker
docker tag ghcr.io/trustbloc/driver-did-trustbloc:latest ${TRUSTBLOC_DID_METHOD_PKG}:${TRUSTBLOC_DID_METHOD_TAG}
docker push ${TRUSTBLOC_DID_METHOD_PKG}:${TRUSTBLOC_DID_METHOD_TAG}
make did-method-cli-docker
docker tag ghcr.io/trustbloc/did-method-cli:latest ${TRUSTBLOC_DID_METHOD_CLI_PKG}:${TRUSTBLOC_DID_METHOD_TAG}
docker push ${TRUSTBLOC_DID_METHOD_CLI_PKG}:${TRUSTBLOC_DID_METHOD_TAG}
env:
DOCKER_USER: $(DOCKER_USER)
DOCKER_PASSWORD: $(DOCKER_PASSWORD)
2 changes: 2 additions & 0 deletions ci/version_var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ IS_RELEASE=false
# Project Parameters
SOURCE_REPO=trustbloc-did-method
BASE_PKG_NAME=driver-did-trustbloc
CLI_PKG_NAME=did-method-cli
RELEASE_REPO=ghcr.io/trustbloc
SNAPSHOT_REPO=ghcr.io/trustbloc-cicd

Expand All @@ -29,3 +30,4 @@ fi

export TRUSTBLOC_DID_METHOD_TAG=${PROJECT_VERSION}
export TRUSTBLOC_DID_METHOD_PKG=${PROJECT_PKG_REPO}/${BASE_PKG_NAME}
export TRUSTBLOC_DID_METHOD_CLI_PKG=${PROJECT_PKG_REPO}/${CLI_PKG_NAME}

0 comments on commit 1b956cb

Please sign in to comment.