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