Update CI files.
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
steps:
|
steps:
|
||||||
|
- name: deploy-static-site
|
||||||
deploy-static-site:
|
|
||||||
image: docker:cli
|
image: docker:cli
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_USERNAME:
|
REGISTRY_USERNAME:
|
||||||
@@ -9,17 +8,12 @@ steps:
|
|||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
DEPLOY_PATH:
|
DEPLOY_PATH:
|
||||||
from_secret: DEPLOY_PATH
|
from_secret: DEPLOY_PATH
|
||||||
settings:
|
commands:
|
||||||
envs:
|
- echo "$REGISTRY_PASSWORD" | docker login registry.binderlab.io --username "$REGISTRY_USERNAME" --password-stdin
|
||||||
- REGISTRY_USERNAME
|
- docker pull registry.binderlab.io/harbormaster-client:latest
|
||||||
- REGISTRY_PASSWORD
|
- docker create --name temp-harbormaster-client registry.binderlab.io/harbormaster-client:latest
|
||||||
- DEPLOY_PATH
|
- pwd
|
||||||
script:
|
# - docker cp temp-harbormaster-client:/build/ $DEPLOY_PATH
|
||||||
- echo "$REGISTRY_PASSWORD" | docker login registry.binderlab.io --username "$REGISTRY_USERNAME" --password-stdin
|
# - docker rm temp-harbormaster-client
|
||||||
- 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
|
|
||||||
when:
|
when:
|
||||||
event: manual
|
event: manual
|
||||||
|
|||||||
Reference in New Issue
Block a user