Don't include network when publishing mainnet sha image
This commit is contained in:
parent
f3830b60ae
commit
d2a2fbb858
@ -588,7 +588,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
|
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
|
||||||
if [[ ! -z $CIRCLE_SHA ]]; then
|
if [[ ! -z $CIRCLE_SHA ]]; then
|
||||||
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>> filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
||||||
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
||||||
fi
|
fi
|
||||||
if [[ ! -z $CIRCLE_TAG ]]; then
|
if [[ ! -z $CIRCLE_TAG ]]; then
|
||||||
|
@ -588,7 +588,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
|
docker push filecoin/<<parameters.image>>:<<parameters.channel>>
|
||||||
if [["[[ ! -z $CIRCLE_SHA ]]"]]; then
|
if [["[[ ! -z $CIRCLE_SHA ]]"]]; then
|
||||||
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>-<<parameters.network>> filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
docker image tag filecoin/<<parameters.image>>:<<parameters.channel>>> filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
||||||
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
docker push filecoin/<<parameters.image>>:"${CIRCLE_SHA}"
|
||||||
fi
|
fi
|
||||||
if [["[[ ! -z $CIRCLE_TAG ]]"]]; then
|
if [["[[ ! -z $CIRCLE_TAG ]]"]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user