Skip to content

Commit

Permalink
fix semaphore #519
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Oct 17, 2020
1 parent 90cf67a commit b1dc699
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/login-dockerhub.sh
@@ -0,0 +1,3 @@
#!/bin/bash

docker login --username "$1" --password-stdin
4 changes: 4 additions & 0 deletions .semaphore/semaphore.yml
Expand Up @@ -21,6 +21,9 @@ global_job_config:
commands:
# - checkout --use-cache
- checkout
# Connect secret to all jobs in the pipeline
secrets:
- name: dockerhub_login

blocks:
# - name: install
Expand All @@ -44,6 +47,7 @@ blocks:
prologue:
commands:
# - cache restore
- echo ${DOCKER_PASSWORD} ./.ci/login-dockerhub.sh ${DOCKER_USERNAME}
- ./.ci/linux/install-clang.sh
- ./.ci/linux/install-gcc.sh
jobs:
Expand Down

0 comments on commit b1dc699

Please sign in to comment.