diff --git a/.circleci/config.yml b/.circleci/config.yml index b2f9dbbf1b0..e121f9b101a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -746,26 +746,32 @@ jobs: name: docker build command: | docker build --target lotus -t filecoin/lotus:<< parameters.tag >> -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:<< parameters.tag >> -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:<< parameters.tag >> -f Dockerfile.lotus . if [[ ! -z $CIRCLE_SHA1 ]]; then docker build --target lotus -t filecoin/lotus:$CIRCLE_SHA1 -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:$CIRCLE_SHA1 -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:$CIRCLE_SHA1 -f Dockerfile.lotus . fi if [[ ! -z $CIRCLE_TAG ]]; then docker build --target lotus -t filecoin/lotus:$CIRCLE_TAG -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:$CIRCLE_TAG -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:$CIRCLE_TAG -f Dockerfile.lotus . fi - run: name: docker push command: | docker push filecoin/lotus:<< parameters.tag >> + docker push filecoin/lotus-gateway:<< parameters.tag >> docker push filecoin/lotus-all-in-one:<< parameters.tag >> if [[ ! -z $CIRCLE_SHA1 ]]; then docker push filecoin/lotus:$CIRCLE_SHA1 + docker push filecoin/lotus-gateway:$CIRCLE_SHA1 docker push filecoin/lotus-all-in-one:$CIRCLE_SHA1 fi if [[ ! -z $CIRCLE_TAG ]]; then docker push filecoin/lotus:$CIRCLE_TAG + docker push filecoin/lotus-gateway:$CIRCLE_TAG docker push filecoin/lotus-all-in-one:$CIRCLE_TAG fi diff --git a/.circleci/template.yml b/.circleci/template.yml index c401f655c35..a9f7fc54c0f 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -746,26 +746,32 @@ jobs: name: docker build command: | docker build --target lotus -t filecoin/lotus:<< parameters.tag >> -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:<< parameters.tag >> -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:<< parameters.tag >> -f Dockerfile.lotus . if [["[[ ! -z $CIRCLE_SHA1 ]]"]]; then docker build --target lotus -t filecoin/lotus:$CIRCLE_SHA1 -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:$CIRCLE_SHA1 -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:$CIRCLE_SHA1 -f Dockerfile.lotus . fi if [["[[ ! -z $CIRCLE_TAG ]]"]]; then docker build --target lotus -t filecoin/lotus:$CIRCLE_TAG -f Dockerfile.lotus . + docker build --target lotus-gateway -t filecoin/lotus-gateway:$CIRCLE_TAG -f Dockerfile.lotus . docker build --target lotus-all-in-one -t filecoin/lotus-all-in-one:$CIRCLE_TAG -f Dockerfile.lotus . fi - run: name: docker push command: | docker push filecoin/lotus:<< parameters.tag >> + docker push filecoin/lotus-gateway:<< parameters.tag >> docker push filecoin/lotus-all-in-one:<< parameters.tag >> if [["[[ ! -z $CIRCLE_SHA1 ]]"]]; then docker push filecoin/lotus:$CIRCLE_SHA1 + docker push filecoin/lotus-gateway:$CIRCLE_SHA1 docker push filecoin/lotus-all-in-one:$CIRCLE_SHA1 fi if [["[[ ! -z $CIRCLE_TAG ]]"]]; then docker push filecoin/lotus:$CIRCLE_TAG + docker push filecoin/lotus-gateway:$CIRCLE_TAG docker push filecoin/lotus-all-in-one:$CIRCLE_TAG fi