Update CI files.
This commit is contained in:
@@ -21,6 +21,8 @@ steps:
|
||||
|
||||
deploy-static-site:
|
||||
image: docker:cli
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
REGISTRY_USERNAME:
|
||||
from_secret: REGISTRY_USERNAME
|
||||
@@ -29,6 +31,7 @@ steps:
|
||||
DEPLOY_PATH:
|
||||
from_secret: DEPLOY_PATH
|
||||
commands:
|
||||
- ls -l /var/run/docker.sock
|
||||
- echo "$REGISTRY_PASSWORD" | docker login registry.binderlab.io --username "$REGISTRY_USERNAME" --password-stdin
|
||||
- docker pull registry.binderlab.io/harbormaster-client:latest
|
||||
- docker create --name temp-harbormaster-client registry.binderlab.io/harbormaster-client:latest
|
||||
|
||||
Reference in New Issue
Block a user