Update CI files.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
steps:
|
||||
|
||||
deploy-static-site:
|
||||
- name: deploy-static-site
|
||||
image: docker:cli
|
||||
environment:
|
||||
REGISTRY_USERNAME:
|
||||
@@ -9,12 +8,7 @@ steps:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
DEPLOY_PATH:
|
||||
from_secret: DEPLOY_PATH
|
||||
settings:
|
||||
envs:
|
||||
- REGISTRY_USERNAME
|
||||
- REGISTRY_PASSWORD
|
||||
- DEPLOY_PATH
|
||||
script:
|
||||
commands:
|
||||
- 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