explicit image tag
@@ -366,26 +366,26 @@ trigger:
steps:
- name: check-images-exist
- image: matterlabs/ci
+ image: docker
environment:
ENV_BASE64:
from_secret: testnet_env_base64
commands:
- - export ZKSYNC_HOME=`pwd`
- - export PATH=$ZKSYNC_HOME/bin:$PATH
- - echo -n $ENV_BASE64 | base64 --decode > $ZKSYNC_HOME/etc/env/testnet.env
- - zksync env testnet
- - f docker pull matterlabs/server:$IMAGE_TAG
- - f docker pull matterlabs/prover:$IMAGE_TAG
- - f docker pull matterlabs/nginx:$IMAGE_TAG
+ - docker pull matterlabs/server:${DRONE_COMMIT_SHA:0:8}
+ - docker pull matterlabs/prover:${DRONE_COMMIT_SHA:0:8}
+ - docker pull matterlabs/nginx:${DRONE_COMMIT_SHA:0:8}
- name: testnet-deploy
image: matterlabs/ci
environment:
+ ENV_BASE64:
+ from_secret: testnet_env_base64
KUBECONFIG_BASE64:
from_secret: testnet_kubeconfig_base64
commands:
- export ZKSYNC_HOME=`pwd`
- export PATH=$ZKSYNC_HOME/bin:$PATH
+ - echo -n $ENV_BASE64 | base64 --decode > $ZKSYNC_HOME/etc/env/testnet.env
+ - zksync env testnet
- echo -n $KUBECONFIG_BASE64 | base64 --decode > `pwd`/kubeconfig.yaml
- python3 $ZKSYNC_HOME/bin/replace-env-variable.py $ZKSYNC_HOME/etc/env/testnet.env KUBECONFIG=`pwd`/kubeconfig.yaml
- zksync apply-kubeconfig
