nginx image tag
@@ -258,8 +258,8 @@ steps:
image: docker
commands:
- docker login -u $USERNAME -p $PASSWORD
- - docker build -t $REPO:stage-${DRONE_COMMIT_SHA:0:8} -f $DOCKERFILE .
- - docker push $REPO:stage-${DRONE_COMMIT_SHA:0:8}
+ - docker build -t $REPO:${DRONE_COMMIT_SHA:0:8} -f $DOCKERFILE .
+ - docker push $REPO:${DRONE_COMMIT_SHA:0:8}
environment:
USERNAME:
from_secret: docker_username
@@ -368,9 +368,14 @@ steps:
- name: check-images-exist
image: docker
environment:
+ USERNAME:
+ from_secret: docker_username
+ PASSWORD:
+ from_secret: docker_password
ENV_BASE64:
from_secret: testnet_env_base64
commands:
+ - docker login -u $USERNAME -p $PASSWORD
- 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}
