mirror of https://github.com/n1nj4sec/pupy.git
Fix image TAG
This commit is contained in:
parent
eeeb090de4
commit
f555ada139
|
@ -26,8 +26,9 @@ script:
|
|||
- ls -l $TRAVIS_BUILD_DIR/pupy/payload_templates/linux-amd64.zip
|
||||
- ls -l $TRAVIS_BUILD_DIR/pupy/payload_templates/linux-x86.zip
|
||||
after_success:
|
||||
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH; fi`
|
||||
- docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- cd $TRAVIS_BUILD_DIR/pupy && docker push alxchk >/dev/null
|
||||
- cd $TRAVIS_BUILD_DIR/pupy && docker push alxchk/pupy:$TAG >/dev/null
|
||||
env:
|
||||
global:
|
||||
- COMMIT=${TRAVIS_COMMIT::8}
|
||||
|
|
Loading…
Reference in New Issue