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:
parent
6387768211
commit
721bb1ed6a
@ -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
3
dist/ci/Dockerfile
vendored
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user