Skip to content

Commit

Permalink
Merge pull request #1362 from scrtlabs/return-of-the-fix-ci
Browse files Browse the repository at this point in the history
fix ci once again
  • Loading branch information
toml01 authored Feb 28, 2023
2 parents f5ac4cd + 242cabb commit 9886445
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ build-testnet:

build-mainnet-upgrade:
@mkdir build 2>&3 || true
docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U=${FEATURES_U} \
DOCKER_BUILDKIT=1 docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U="production, ${FEATURES_U}" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--secret id=API_KEY,src=api_key.txt \
--secret id=SPID,src=spid.txt \
Expand All @@ -319,8 +319,8 @@ build-mainnet-upgrade:
$(DOCKER_BUILD_ARGS) \
-t ghcr.io/scrtlabs/secret-network-node:v$(VERSION) \
--target mainnet-release .
docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U=${FEATURES_U} \
DOCKER_BUILDKIT=1 docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U="production, ${FEATURES_U}" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--secret id=API_KEY,src=api_key.txt \
--secret id=SPID,src=spid.txt \
Expand All @@ -331,10 +331,9 @@ build-mainnet-upgrade:
-t deb_build \
--target build-deb-mainnet .
docker run -e VERSION=${VERSION} -v $(CUR_DIR)/build:/build deb_build

build-mainnet:
@mkdir build 2>&3 || true
docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
DOCKER_BUILDKIT=1 docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U=${FEATURES_U} \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--secret id=API_KEY,src=api_key.txt \
Expand All @@ -348,7 +347,7 @@ build-mainnet:
-f deployment/dockerfiles/Dockerfile \
-t ghcr.io/scrtlabs/secret-network-node:v$(VERSION) \
--target release-image .
docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
DOCKER_BUILDKIT=1 docker build --build-arg FEATURES="verify-validator-whitelist,light-client-validation,production, ${FEATURES}" \
--build-arg FEATURES_U=${FEATURES_U} \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--secret id=API_KEY,src=api_key.txt \
Expand Down

0 comments on commit 9886445

Please sign in to comment.