From 311719e87efcc37041155981162db38a6b478dbb Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Sat, 25 Jan 2020 07:45:35 +1100 Subject: [PATCH] Update Travis CI config --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d5b28d0a..a57aeafd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,11 +10,11 @@ after_success: script: - >- - version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version - - docker build -t "wappalyzer/cli" src/drivers/npm + version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/') ; + ./run build $version ; + docker build -t wappalyzer/cli:latest -t wappalyzer/cli:$version src/drivers/npm env: - # encrypted DOCKER_PASSWORD - secure: xc5vP+LjpNnZgMIfXUUeP3EBGhhNoDV5vTfophBliaWZrBX8POpLOFQGZ/Fcd0i+UBmSckLYW30BLSwHwjYLAZJGM12AfeiKbI1eub5tNfsosI2FZ3lNeb2nlpoIjzpsyS5fknJL0zQfkadUgxbrwDRDuaN+P6oOup3XMgHR9hkjb/QwVW2ozxU+OP4iRvcNECLP+XqnsOyq0YFshZzRMOd6fVYnJZuP6NTj24hCfymcmZJlS8Q5dSHISg68Lckaa/z3APxrMW+5/PORsHZ/U8yugNQr6Ty5J3YoaEuUoaMaUkGpaiuP26/lndynlRhNVlw8zQKfb7A09oom/UjnhyLE+9NuhKpo7f3l56OP/ubIvJzkrGt0hqwKnW2+EixURLxAOL7shtc/9gl8q2cPwEJg50siIRGJXkUEear/oqYr/EqEk1/6kq3dOfaDM0kRYAeHi8Kuf4+tyTbKQDULT3xYMi3ZxAYTd8gEMGsWca+PT/+IfFB4sHADmFmh6Y9VhI89Zrsrqa7C2BlS/ytuiAJHgrleKxyYKEFy78yG5Tb/AGi2UmGFMk8ShKRNrK8VJmrqixWttvyUr81iBI5uEP9copsXDnR5aZaFZF5vBi7PK85Ngwj6uREM+rjQadaPR49KQqUXFj0s3OXbwDXgMFIXAguqsji/nm4IuEeA8zA= deploy: @@ -28,9 +28,10 @@ deploy: repo: AliasIO/wappalyzer tags: true - provider: script - script: docker login -u wappalyzer -p "$DOCKER_PASSWORD" && - docker push "wappalyzer/cli" + script: + - docker login -u wappalyzer -p "$DOCKER_PASSWORD" && docker push wappalyzer/cli on: + repo: AliasIO/wappalyzer tags: true notifications: