Improve build
This commit is contained in:
parent
f50fb12487
commit
b8296a70d6
8 changed files with 50 additions and 76 deletions
11
set-env.sh
Normal file
11
set-env.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
VERSION=`cat VERSION`
|
||||
|
||||
if [[ $GITHUB_REF == "master" ]]; then
|
||||
echo "::set-env name=TAGS::latest,${VERSION}"
|
||||
else
|
||||
echo "::set-env name=TAGS::dev,${VERSION}-dev"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue