dist/ci/Dockerfile: include obs-deploy in /usr/bin.

Paving the way for this image to be built outside of this repository.
This commit is contained in:
Jimmy Berry 2017-09-01 17:17:49 -05:00
parent 6387768211
commit 721bb1ed6a
2 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ matrix:
deploy:
provider: script
script: docker run -it -e OBS_PACKAGE="$OBS_PACKAGE" -e OBS_USER="$OBS_USER" -e OBS_PASS="$OBS_PASS" -e OBS_EMAIL="$OBS_EMAIL" spec ./dist/ci/obs-deploy
script: docker run -it -e OBS_PACKAGE="$OBS_PACKAGE" -e OBS_USER="$OBS_USER" -e OBS_PASS="$OBS_PASS" -e OBS_EMAIL="$OBS_EMAIL" spec obs-deploy
on:
branch: master
condition: $TEST_SUITE = distribution

3
dist/ci/Dockerfile vendored
View File

@ -31,3 +31,6 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
# Already included in target, but simulate separate container image.
ADD dist/ci/obs-deploy /usr/bin/