Update CI files.
This commit is contained in:
@@ -19,7 +19,7 @@ steps:
|
||||
not:
|
||||
event: manual
|
||||
|
||||
deploy-static-site:
|
||||
pull-container:
|
||||
image: docker:cli
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
@@ -31,12 +31,11 @@ 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
|
||||
- pwd
|
||||
# - docker cp temp-harbormaster-client:/build/ $DEPLOY_PATH
|
||||
# - docker rm temp-harbormaster-client
|
||||
- docker cp temp-harbormaster-client:/app $DEPLOY_PATH/harbormaster-client
|
||||
- docker rm temp-harbormaster-client
|
||||
when:
|
||||
event: manual
|
||||
|
||||
Reference in New Issue
Block a user