Fix problem related to Debian DEB packaging in CI
This commit is contained in:
parent
71126ac88d
commit
02b920497c
|
@ -24,10 +24,8 @@ jobs:
|
|||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- script: |
|
||||
cd ci/ubuntu
|
||||
sudo docker build -t espanso-ubuntu .
|
||||
cd ../../
|
||||
sudo docker run --rm -v "$(pwd):/shared" -it espanso-ubuntu ./build_deb.sh
|
||||
sudo docker build -t espanso-ubuntu . -f ci/ubuntu/Dockerfile
|
||||
sudo docker run --rm -v "$(pwd):/shared" -it espanso-ubuntu espanso/ci/ubuntu/build_deb.sh
|
||||
displayName: Setting up docker
|
||||
- template: ci/deploy.yml
|
||||
|
||||
|
|
|
@ -30,8 +30,9 @@ RUN set -eux; \
|
|||
cargo --version; \
|
||||
rustc --version;
|
||||
|
||||
RUN git clone https://github.com/federico-terzi/espanso.git \
|
||||
&& cd espanso \
|
||||
&& cargo install cargo-deb
|
||||
RUN mkdir espanso
|
||||
|
||||
COPY build_deb.sh .
|
||||
COPY . espanso
|
||||
|
||||
RUN cd espanso \
|
||||
&& cargo install cargo-deb
|
||||
|
|
Loading…
Reference in New Issue
Block a user