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