Add tag to build

main
Georg Krause 2020-07-16 11:01:03 +02:00
parent 9b03a4e29e
commit 4fe7638e13
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 3 additions and 1 deletions

View File

@ -11,4 +11,6 @@ steps:
- cd cryptpad
- git checkout $(git ls-remote -q --tags --refs --sort="committerdate" | tail -n1 | cut -d "/" -f3-)
- cd ..
- docker build -t gcrkrause/cryptpad . --no-cache
- name: build
commands:
- docker build -t gcrkrause/cryptpad:$(git submodule status | awk -F"[()]" '{print $2}') . --no-cache