fix(build): call project scripts using absolute paths
This commit is contained in:
parent
d3ccff9545
commit
38cf602a11
|
@ -104,7 +104,7 @@ github-pending:
|
||||||
- .build-curl
|
- .build-curl
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./scripts/github-status.sh pending
|
- ${CI_PROJECT_DIR}/scripts/github-status.sh pending
|
||||||
|
|
||||||
github-failure:
|
github-failure:
|
||||||
stage: status-post
|
stage: status-post
|
||||||
|
@ -113,7 +113,7 @@ github-failure:
|
||||||
|
|
||||||
when: on_failure
|
when: on_failure
|
||||||
script:
|
script:
|
||||||
- ./scripts/github-status.sh failure
|
- ${CI_PROJECT_DIR}/scripts/github-status.sh failure
|
||||||
|
|
||||||
github-success:
|
github-success:
|
||||||
stage: status-post
|
stage: status-post
|
||||||
|
@ -122,4 +122,4 @@ github-success:
|
||||||
|
|
||||||
when: on_success
|
when: on_success
|
||||||
script:
|
script:
|
||||||
- ./scripts/github-status.sh success
|
- ${CI_PROJECT_DIR}/scripts/github-status.sh success
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
- mkdir ${HOME}/.docker
|
- mkdir ${HOME}/.docker
|
||||||
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
||||||
script:
|
script:
|
||||||
- ./scripts/docker-build.sh
|
- ${CI_PROJECT_DIR}/scripts/docker-build.sh
|
||||||
after_script:
|
after_script:
|
||||||
- rm -rfv ${HOME}/.docker
|
- rm -rfv ${HOME}/.docker
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue