Merge pull request #2916 from abitrolly/patch-1

Add autodeploy to DockerHub
main
Elbert Alias 5 years ago committed by GitHub
commit 6bbe08119c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,3 @@
sudo: required
services: services:
- docker - docker
@ -10,11 +8,17 @@ after_success:
- sha256sum build/* > build/SHA256SUMS - sha256sum build/* > build/SHA256SUMS
- cat build/SHA256SUMS - cat build/SHA256SUMS
script: |- script:
version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version - >-
version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version
- docker build -t "wappalyzer/cli" 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: deploy:
provider: releases - provider: releases
api_key: api_key:
secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c= secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c=
file_glob: true file_glob: true
@ -23,9 +27,11 @@ deploy:
on: on:
repo: AliasIO/wappalyzer repo: AliasIO/wappalyzer
tags: true tags: true
- provider: script
env: script: docker login -u wappalyzer -p "$DOCKER_PASSWORD" &&
- CXX=g++-4.8 docker push "wappalyzer/cli"
on:
tags: true
notifications: notifications:
slack: wappalyzer:ppXlJRMBDxrKYS9vgVxT7FuH slack: wappalyzer:ppXlJRMBDxrKYS9vgVxT7FuH

Loading…
Cancel
Save