Strip v of TRAVIS_TAG before extracting binary.

pull/487/head^2 v4.0.0
Clement Michaud 2019-12-10 10:29:06 +01:00
parent bd2ddc5e90
commit e0d4ed2a07
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ jobs:
after_success: after_success:
- authelia-scripts docker push-image --arch=$ARCH - authelia-scripts docker push-image --arch=$ARCH
before_deploy: before_deploy:
- docker create --name authelia-binary clems4ever/authelia:$TRAVIS_TAG-$ARCH - docker create --name authelia-binary clems4ever/authelia:${TRAVIS_TAG:1}-$ARCH
- docker cp authelia-binary:/usr/app/authelia ./authelia-linux-$ARCH - docker cp authelia-binary:/usr/app/authelia ./authelia-linux-$ARCH
- docker cp authelia-binary:/usr/app/public_html ./ - docker cp authelia-binary:/usr/app/public_html ./
- tar -czf authelia-linux-$ARCH.tar.gz authelia-linux-$ARCH public_html - tar -czf authelia-linux-$ARCH.tar.gz authelia-linux-$ARCH public_html